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

Function createEISDIR

lib/internal/vfs/errors.js:79–87  ·  view source on GitHub ↗

* Creates an EISDIR error. * @param {string} syscall The system call name * @param {string} path The path that is a directory * @returns {Error}

(syscall, path)

Source from the content-addressed store, hash-verified

77 * @returns {Error}
78 */
79function createEISDIR(syscall, path) {
80 const err = new UVException({
81 errno: UV_EISDIR,
82 syscall,
83 path,
84 });
85 ErrorCaptureStackTrace(err, createEISDIR);
86 return err;
87}
88
89/**
90 * Creates an EBADF error for invalid file descriptor operations.

Callers 5

rmSyncMethod · 0.85
rmMethod · 0.85
openSyncMethod · 0.85
unlinkSyncMethod · 0.85
renameSyncMethod · 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…