DOMException class

An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.

MDN Reference

Implemented types
Implementers
Available Extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

DOMException([String? message, String? name])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

abortErr num
no setter
dataCloneErr num
no setter
domstringSizeErr num
no setter
hierarchyRequestErr num
no setter
indexSizeErr num
no setter
inuseAttributeErr num
no setter
invalidAccessErr num
no setter
invalidCharacterErr num
no setter
invalidModificationErr num
no setter
invalidNodeTypeErr num
no setter
invalidStateErr num
no setter
namespaceErr num
no setter
networkErr num
no setter
noDataAllowedErr num
no setter
noModificationAllowedErr num
no setter
notFoundErr num
no setter
notSupportedErr num
no setter
quotaExceededErr num
no setter
securityErr num
no setter
syntaxErr num
no setter
timeoutErr num
no setter
typeMismatchErr num
no setter
urlMismatchErr num
no setter
validationErr num
no setter
wrongDocumentErr num
no setter