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

Function createEINVAL

lib/internal/vfs/errors.js:141–149  ·  view source on GitHub ↗

* Creates an EINVAL error for invalid argument. * @param {string} syscall The system call name * @param {string} path The path * @returns {Error}

(syscall, path)

Source from the content-addressed store, hash-verified

139 * @returns {Error}
140 */
141function createEINVAL(syscall, path) {
142 const err = new UVException({
143 errno: UV_EINVAL,
144 syscall,
145 path,
146 });
147 ErrorCaptureStackTrace(err, createEINVAL);
148 return err;
149}
150
151/**
152 * Creates an ELOOP error for too many symbolic links.

Callers 3

openSyncMethod · 0.85
linkSyncMethod · 0.85
readlinkSyncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected