Types

Link copied to clipboard
sealed interface AbortError : DOMExceptionType

The operation was aborted

Link copied to clipboard

A mutation operation in a transaction failed because a constraint was not satisfied

Link copied to clipboard
sealed interface DataCloneError : DOMExceptionType

The object cannot be cloned

Link copied to clipboard
sealed interface DataError : DOMExceptionType

Provided data is inadequate

Link copied to clipboard
sealed interface EncodingError : DOMExceptionType

The encoding or decoding operation failed

Link copied to clipboard

The node tree hierarchy is not correct

Link copied to clipboard
sealed interface IndexSizeError : DOMExceptionType

The index is not in the allowed range. For example, this can be thrown by the Range object

Link copied to clipboard

The attribute is in use

Link copied to clipboard

The object does not support the operation or argument

Link copied to clipboard

The string contains invalid characters

Link copied to clipboard

The object cannot be modified in this way

Link copied to clipboard

The node is incorrect or has an incorrect ancestor for this operation

Link copied to clipboard

The object is in an invalid state

Link copied to clipboard
sealed interface NamespaceError : DOMExceptionType

The operation is not allowed by Namespaces in XML

Link copied to clipboard
sealed interface NetworkError : DOMExceptionType

A network error occurred

Link copied to clipboard

The object cannot be modified

Link copied to clipboard

The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission

Link copied to clipboard
sealed interface NotFoundError : DOMExceptionType

The object cannot be found here

Link copied to clipboard

The input/output read operation failed

Link copied to clipboard

The operation is not supported

Link copied to clipboard
sealed interface OperationError : DOMExceptionType

The operation failed for an operation-specific reason

Link copied to clipboard

The quota has been exceeded

Link copied to clipboard
sealed interface ReadOnlyError : DOMExceptionType

The mutating operation was attempted in a "readonly" transaction

Link copied to clipboard
sealed interface SecurityError : DOMExceptionType

The operation is insecure

Link copied to clipboard
sealed interface SyntaxError : DOMExceptionType

The string did not match the expected pattern

Link copied to clipboard
sealed interface TimeoutError : DOMExceptionType

The operation timed out

Link copied to clipboard

A request was placed against a transaction that is currently not active or is finished

Link copied to clipboard
sealed interface UnknownError : DOMExceptionType

The operation failed for an unknown transient reason (e.g., out of memory)

Link copied to clipboard

The given URL does not match another URL

Link copied to clipboard
sealed interface VersionError : DOMExceptionType

An attempt was made to open a database using a lower version than the existing version

Link copied to clipboard

The object is in the wrong Document