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

Function createEEXIST

lib/internal/vfs/errors.js:109–117  ·  view source on GitHub ↗

* Creates an EEXIST error. * @param {string} syscall The system call name * @param {string} path The path that already exists * @returns {Error}

(syscall, path)

Source from the content-addressed store, hash-verified

107 * @returns {Error}
108 */
109function createEEXIST(syscall, path) {
110 const err = new UVException({
111 errno: UV_EEXIST,
112 syscall,
113 path,
114 });
115 ErrorCaptureStackTrace(err, createEEXIST);
116 return err;
117}
118
119/**
120 * Creates an EROFS error for read-only file system.

Callers 6

copyFileMethod · 0.85
copyFileSyncMethod · 0.85
openSyncMethod · 0.85
mkdirSyncMethod · 0.85
linkSyncMethod · 0.85
symlinkSyncMethod · 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…