WebFileSystemException class

A failure reported by the browser File System API / OPFS layer.

Implemented types
Implementers

Constructors

WebFileSystemException(String name, String message, {String? path})
Creates an exception from a browser-reported error name and message.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isCorruptManifest → bool
The manifest is corrupt beyond recovery.
no setter
isNoModificationAllowed → bool
Another handle (another tab/worker) holds the file's exclusive lock.
no setter
isNotFound → bool
The entry does not exist (create: false on a missing path).
no setter
isQuotaExceeded → bool
The origin's storage quota is exhausted.
no setter
isUnsupported → bool
The requested storage backend is unavailable (e.g. no OPFS).
no setter
message → String
Human readable message from the browser.
final
name → String
The DOMException.name (for example NotFoundError), or Error when a plain JavaScript Error was thrown.
final
path → String?
Logical path the operation was working on, when known.
final
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited