MCPcopy Index your code
hub / github.com/nodejs/node / createEACCES

Function createEACCES

lib/internal/vfs/errors.js:173–181  ·  view source on GitHub ↗

* Creates an EACCES error for permission denied. * @param {string} syscall The system call name * @param {string} path The path * @returns {Error}

(syscall, path)

Source from the content-addressed store, hash-verified

171 * @returns {Error}
172 */
173function createEACCES(syscall, path) {
174 const err = new UVException({
175 errno: UV_EACCES,
176 syscall,
177 path,
178 });
179 ErrorCaptureStackTrace(err, createEACCES);
180 return err;
181}
182
183function createEXDEV(syscall, path) {
184 const err = new UVException({

Callers 4

#checkAccessModeMethod · 0.85
symlinkSyncMethod · 0.85
symlinkMethod · 0.85
#resolvedToVfsPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…