* Creates an EROFS error for read-only file system. * @param {string} syscall The system call name * @param {string} path The path * @returns {Error}
(syscall, path)
| 123 | * @returns {Error} |
| 124 | */ |
| 125 | function createEROFS(syscall, path) { |
| 126 | const err = new UVException({ |
| 127 | errno: UV_EROFS, |
| 128 | syscall, |
| 129 | path, |
| 130 | }); |
| 131 | ErrorCaptureStackTrace(err, createEROFS); |
| 132 | return err; |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Creates an EINVAL error for invalid argument. |
no outgoing calls
no test coverage detected
searching dependent graphs…