FileSystemErrorUnion
PackageAxial.FileSystem
Describes a meaningful file-system failure.
Specification
Kind
Union
Members
20
Examples
0
IsCanceledSignature
this.IsCanceled
IsIoSignature
this.IsIo
IsFileNotFoundSignature
this.IsFileNotFound
IsPathTooLongSignature
this.IsPathTooLong
IsUnexpectedSignature
this.IsUnexpected
Summary
| Name | Signature | Synopsis |
|---|---|---|
| IsCanceled | this.IsCanceled | No description available. |
| IsIo | this.IsIo | No description available. |
| IsFileNotFound | this.IsFileNotFound | No description available. |
| IsPathTooLong | this.IsPathTooLong | No description available. |
| IsUnexpected | this.IsUnexpected | No description available. |
| IsAlreadyExists | this.IsAlreadyExists | No description available. |
| IsUnsupported | this.IsUnsupported | No description available. |
| IsInvalidPath | this.IsInvalidPath | No description available. |
| IsDirectoryNotFound | this.IsDirectoryNotFound | 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. |
| 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. |
A file was not found.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string |
Returns
unit
A directory was not found.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string |
Returns
unit
The requested path already exists.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string |
Returns
unit
The caller is not authorized to access the requested path.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string option | |
| message | string |
Returns
unit
The requested path was invalid.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string option | |
| message | string |
Returns
unit
The requested path was too long for the platform.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string option | |
| message | string |
Returns
unit
The operation was canceled.
Parameters
| Name | Type | Description |
|---|---|---|
| message | string |
Returns
unit
The operation failed with a general I/O error.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string option | |
| message | string |
Returns
unit
The operation is not supported by the current platform or path shape.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string option | |
| message | string |
Returns
unit

