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

Function createENOENT

lib/internal/vfs/errors.js:31–39  ·  view source on GitHub ↗

* Creates an ENOENT error for virtual file system operations. * @param {string} syscall The system call name * @param {string} path The path that was not found * @returns {Error}

(syscall, path)

Source from the content-addressed store, hash-verified

29 * @returns {Error}
30 */
31function createENOENT(syscall, path) {
32 const err = new UVException({
33 errno: UV_ENOENT,
34 syscall,
35 path,
36 });
37 ErrorCaptureStackTrace(err, createENOENT);
38 return err;
39}
40
41/**
42 * Creates an ENOTDIR error.

Callers 7

findVFSWithFunction · 0.85
#toProviderPathMethod · 0.85
#resolvePathMethod · 0.85
#verifyAncestorInRootMethod · 0.85
#getEntryMethod · 0.85
#ensureParentMethod · 0.85
realpathSyncMethod · 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…