Classes
DOMException
Extends
Implements
Constructors
new DOMException()
new DOMException(message
?, name
?): DOMException
Parameters
Parameter | Type |
---|---|
message ? | string |
name ? | string |
Returns
Overrides
Error.constructor
Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
ABORT_ERR | public | 20 | - | - |
cause? | public | unknown | - | globalThis.DOMException.cause Error.cause |
code | public | number | Deprecated MDN Reference | - |
DATA_CLONE_ERR | public | 25 | - | - |
DOMSTRING_SIZE_ERR | public | 2 | - | - |
HIERARCHY_REQUEST_ERR | public | 3 | - | - |
INDEX_SIZE_ERR | public | 1 | - | - |
INUSE_ATTRIBUTE_ERR | public | 10 | - | - |
INVALID_ACCESS_ERR | public | 15 | - | - |
INVALID_CHARACTER_ERR | public | 5 | - | - |
INVALID_MODIFICATION_ERR | public | 13 | - | - |
INVALID_NODE_TYPE_ERR | public | 24 | - | - |
INVALID_STATE_ERR | public | 11 | - | - |
message | public | string | - | globalThis.DOMException.message Error.message |
name | public | string | - | globalThis.DOMException.name Error.name |
NAMESPACE_ERR | public | 14 | - | - |
NETWORK_ERR | public | 19 | - | - |
NO_DATA_ALLOWED_ERR | public | 6 | - | - |
NO_MODIFICATION_ALLOWED_ERR | public | 7 | - | - |
NOT_FOUND_ERR | public | 8 | - | - |
NOT_SUPPORTED_ERR | public | 9 | - | - |
QUOTA_EXCEEDED_ERR | public | 22 | - | - |
SECURITY_ERR | public | 18 | - | - |
stack? | public | string | - | globalThis.DOMException.stack Error.stack |
SYNTAX_ERR | public | 12 | - | - |
TIMEOUT_ERR | public | 23 | - | - |
TYPE_MISMATCH_ERR | public | 17 | - | - |
URL_MISMATCH_ERR | public | 21 | - | - |
VALIDATION_ERR | public | 16 | - | - |
WRONG_DOCUMENT_ERR | public | 4 | - | - |
ABORT_ERR | static | 20 | - | - |
DATA_CLONE_ERR | static | 25 | - | - |
DOMSTRING_SIZE_ERR | static | 2 | - | - |
HIERARCHY_REQUEST_ERR | static | 3 | - | - |
INDEX_SIZE_ERR | static | 1 | - | - |
INUSE_ATTRIBUTE_ERR | static | 10 | - | - |
INVALID_ACCESS_ERR | static | 15 | - | - |
INVALID_CHARACTER_ERR | static | 5 | - | - |
INVALID_MODIFICATION_ERR | static | 13 | - | - |
INVALID_NODE_TYPE_ERR | static | 24 | - | - |
INVALID_STATE_ERR | static | 11 | - | - |
NAMESPACE_ERR | static | 14 | - | - |
NETWORK_ERR | static | 19 | - | - |
NO_DATA_ALLOWED_ERR | static | 6 | - | - |
NO_MODIFICATION_ALLOWED_ERR | static | 7 | - | - |
NOT_FOUND_ERR | static | 8 | - | - |
NOT_SUPPORTED_ERR | static | 9 | - | - |
QUOTA_EXCEEDED_ERR | static | 22 | - | - |
SECURITY_ERR | static | 18 | - | - |
SYNTAX_ERR | static | 12 | - | - |
TIMEOUT_ERR | static | 23 | - | - |
TYPE_MISMATCH_ERR | static | 17 | - | - |
URL_MISMATCH_ERR | static | 21 | - | - |
VALIDATION_ERR | static | 16 | - | - |
WRONG_DOCUMENT_ERR | static | 4 | - | - |