* Creates an EISDIR error. * @param {string} syscall The system call name * @param {string} path The path that is a directory * @returns {Error}
(syscall, path)
| 77 | * @returns {Error} |
| 78 | */ |
| 79 | function 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…