FileSystemErrorModule
PackageAxial.FileSystem
Describes a meaningful file-system failure.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Union cases | ||
| IsInvalidPath | this.IsInvalidPath | No description available. |
| IsDirectoryNotFound | this.IsDirectoryNotFound | No description available. |
| IsPathTooLong | this.IsPathTooLong | No description available. |
| IsUnauthorized | this.IsUnauthorized | No description available. |
| IsAlreadyExists | this.IsAlreadyExists | No description available. |
| IsUnsupported | this.IsUnsupported | No description available. |
| IsCanceled | this.IsCanceled | No description available. |
| IsIo | this.IsIo | No description available. |
| IsUnexpected | this.IsUnexpected | No description available. |
| IsFileNotFound | this.IsFileNotFound | No description available. |
| FileNotFound | FileNotFound path | A file was not found. |
| DirectoryNotFound | DirectoryNotFound path | A directory was not found. |
| AlreadyExists | AlreadyExists path | The requested path already exists. |
| Unauthorized | Unauthorized(path, message) | The caller is not authorized to access the requested path. |
| InvalidPath | InvalidPath(path, message) | The requested path was invalid. |
| PathTooLong | PathTooLong(path, message) | The requested path was too long for the platform. |
| Canceled | Canceled message | The operation was canceled. |
| Io | Io(path, message) | The operation failed with a general I/O error. |
| Unsupported | Unsupported(path, message) | The operation is not supported by the current platform or path shape. |
| Unexpected | Unexpected(path, message) | An unexpected exception escaped a file-system operation. |
| Operations | ||
| fromException | FileSystemError.fromException path error | Classifies an exception raised by a file-system operation. |
| describe | FileSystemError.describe error | Formats a human-readable description for a file-system error. |

