(cause: unknown)
| 98 | // --------------------------------------------------------------------------- |
| 99 | |
| 100 | const isFileNotFoundCause = (cause: unknown): cause is NodeJS.ErrnoException => |
| 101 | typeof cause === "object" && cause !== null && "code" in cause && cause.code === "ENOENT"; |
| 102 | |
| 103 | const toStorageError = |
| 104 | (message: string) => |