* Creates an EEXIST error. * @param {string} syscall The system call name * @param {string} path The path that already exists * @returns {Error}
(syscall, path)
| 107 | * @returns {Error} |
| 108 | */ |
| 109 | function 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…