* Creates an EBADF error for invalid file descriptor operations. * @param {string} syscall The system call name * @returns {Error}
(syscall)
| 92 | * @returns {Error} |
| 93 | */ |
| 94 | function createEBADF(syscall) { |
| 95 | const err = new UVException({ |
| 96 | errno: UV_EBADF, |
| 97 | syscall, |
| 98 | }); |
| 99 | ErrorCaptureStackTrace(err, createEBADF); |
| 100 | return err; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Creates an EEXIST error. |
no outgoing calls
no test coverage detected
searching dependent graphs…