(e: unknown)
| 137 | * Replaces `(e as NodeJS.ErrnoException).code === 'ENOENT'`. |
| 138 | */ |
| 139 | export function isENOENT(e: unknown): boolean { |
| 140 | return getErrnoCode(e) === 'ENOENT' |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * Extract the errno path (the filesystem path that triggered the error) |
no test coverage detected