WASIPreview3FilesystemMutationError enum
Filesystem mutation failures that map directly to WASI 0.3 error-code variants.
Values
- access → const WASIPreview3FilesystemMutationError
-
Host permission denied.
const WASIPreview3FilesystemMutationError('access') - already → const WASIPreview3FilesystemMutationError
-
Operation is already in progress or completed.
const WASIPreview3FilesystemMutationError('already') - badDescriptor → const WASIPreview3FilesystemMutationError
-
Descriptor is invalid or no longer owned.
const WASIPreview3FilesystemMutationError('bad-descriptor') - busy → const WASIPreview3FilesystemMutationError
-
Resource is busy.
const WASIPreview3FilesystemMutationError('busy') - deadlock → const WASIPreview3FilesystemMutationError
-
Operation would deadlock.
const WASIPreview3FilesystemMutationError('deadlock') - quota → const WASIPreview3FilesystemMutationError
-
Storage quota was exceeded.
const WASIPreview3FilesystemMutationError('quota') - exist → const WASIPreview3FilesystemMutationError
-
Target already exists.
const WASIPreview3FilesystemMutationError('exist') - fileTooLarge → const WASIPreview3FilesystemMutationError
-
File size exceeds a host or filesystem limit.
const WASIPreview3FilesystemMutationError('file-too-large') - illegalByteSequence → const WASIPreview3FilesystemMutationError
-
A path is not valid in the host filesystem encoding.
const WASIPreview3FilesystemMutationError('illegal-byte-sequence') - inProgress → const WASIPreview3FilesystemMutationError
-
Operation remains in progress.
const WASIPreview3FilesystemMutationError('in-progress') - interrupted → const WASIPreview3FilesystemMutationError
-
Operation was interrupted.
const WASIPreview3FilesystemMutationError('interrupted') - invalid → const WASIPreview3FilesystemMutationError
-
Invalid path, offset, or argument.
const WASIPreview3FilesystemMutationError('invalid') - io → const WASIPreview3FilesystemMutationError
-
Host I/O failure.
const WASIPreview3FilesystemMutationError('io') - loop → const WASIPreview3FilesystemMutationError
-
A symbolic-link resolution cycle was detected.
const WASIPreview3FilesystemMutationError('loop') - tooManyLinks → const WASIPreview3FilesystemMutationError
-
Object has too many hard links.
const WASIPreview3FilesystemMutationError('too-many-links') - messageSize → const WASIPreview3FilesystemMutationError
-
Message or record is too large.
const WASIPreview3FilesystemMutationError('message-size') - nameTooLong → const WASIPreview3FilesystemMutationError
-
Path name exceeds a host or filesystem limit.
const WASIPreview3FilesystemMutationError('name-too-long') - noDevice → const WASIPreview3FilesystemMutationError
-
No suitable device is available.
const WASIPreview3FilesystemMutationError('no-device') - isDirectory → const WASIPreview3FilesystemMutationError
-
A directory was used where a regular file was required.
const WASIPreview3FilesystemMutationError('is-directory') - noEntry → const WASIPreview3FilesystemMutationError
-
Target path does not exist.
const WASIPreview3FilesystemMutationError('no-entry') - noLock → const WASIPreview3FilesystemMutationError
-
No lock is available.
const WASIPreview3FilesystemMutationError('no-lock') - insufficientMemory → const WASIPreview3FilesystemMutationError
-
Host memory is insufficient.
const WASIPreview3FilesystemMutationError('insufficient-memory') - notDirectory → const WASIPreview3FilesystemMutationError
-
A non-directory was used where a directory was required.
const WASIPreview3FilesystemMutationError('not-directory') - notEmpty → const WASIPreview3FilesystemMutationError
-
Directory removal targeted a non-empty directory.
const WASIPreview3FilesystemMutationError('not-empty') - notRecoverable → const WASIPreview3FilesystemMutationError
-
Resource state cannot be recovered.
const WASIPreview3FilesystemMutationError('not-recoverable') - notPermitted → const WASIPreview3FilesystemMutationError
-
Path escaped the permitted preopen tree.
const WASIPreview3FilesystemMutationError('not-permitted') - overflow → const WASIPreview3FilesystemMutationError
-
The host cannot represent the requested value.
const WASIPreview3FilesystemMutationError('overflow') - readOnly → const WASIPreview3FilesystemMutationError
-
Descriptor or backing store is read-only.
const WASIPreview3FilesystemMutationError('read-only') - insufficientSpace → const WASIPreview3FilesystemMutationError
-
The backing store has insufficient free space.
const WASIPreview3FilesystemMutationError('insufficient-space') - crossDevice → const WASIPreview3FilesystemMutationError
-
The source and destination are on different filesystems.
const WASIPreview3FilesystemMutationError('cross-device') - unsupported → const WASIPreview3FilesystemMutationError
-
Operation is not supported by the host backing store.
const WASIPreview3FilesystemMutationError('unsupported') - noTty → const WASIPreview3FilesystemMutationError
-
Target is not a terminal.
const WASIPreview3FilesystemMutationError('no-tty') - noSuchDevice → const WASIPreview3FilesystemMutationError
-
Referenced device does not exist.
const WASIPreview3FilesystemMutationError('no-such-device') - pipe → const WASIPreview3FilesystemMutationError
-
Stream peer closed its pipe.
const WASIPreview3FilesystemMutationError('pipe') - invalidSeek → const WASIPreview3FilesystemMutationError
-
Seek target is invalid.
const WASIPreview3FilesystemMutationError('invalid-seek') - textFileBusy → const WASIPreview3FilesystemMutationError
-
Executable text file is busy.
const WASIPreview3FilesystemMutationError('text-file-busy')
Properties
- errorCode → String
-
WIT
error-codevariant label.final - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
WASIPreview3FilesystemMutationError> - A constant List of the values in this enum, in order of their declaration.