FileSystemErrorUnion
PackageAxial.FileSystem
Describes a meaningful file-system failure.
Specification
Kind
Union
Members
20
Examples
0
fromExceptionSignature
FileSystemError.fromException path error
describeSignature
FileSystemError.describe error
IsDirectoryNotFoundSignature
this.IsDirectoryNotFound
IsIoSignature
this.IsIo
IsUnsupportedSignature
this.IsUnsupported
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Union cases | ||
| IsDirectoryNotFound | this.IsDirectoryNotFound | No description available. |
| IsIo | this.IsIo | No description available. |
| IsUnsupported | this.IsUnsupported | No description available. |
| IsInvalidPath | this.IsInvalidPath | No description available. |
| IsAlreadyExists | this.IsAlreadyExists | No description available. |
| IsFileNotFound | this.IsFileNotFound | No description available. |
| IsUnexpected | this.IsUnexpected | No description available. |
| IsPathTooLong | this.IsPathTooLong | No description available. |
| IsUnauthorized | this.IsUnauthorized | 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. |
| 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. |

