DOMException: { ABORT_ERR: 20; DATA_CLONE_ERR: 25; DOMSTRING_SIZE_ERR: 2; HIERARCHY_REQUEST_ERR: 3; INDEX_SIZE_ERR: 1; INUSE_ATTRIBUTE_ERR: 10; INVALID_ACCESS_ERR: 15; INVALID_CHARACTER_ERR: 5; INVALID_MODIFICATION_ERR: 13; INVALID_NODE_TYPE_ERR: 24; INVALID_STATE_ERR: 11; NAMESPACE_ERR: 14; NETWORK_ERR: 19; NOT_FOUND_ERR: 8; NOT_SUPPORTED_ERR: 9; NO_DATA_ALLOWED_ERR: 6; NO_MODIFICATION_ALLOWED_ERR: 7; QUOTA_EXCEEDED_ERR: 22; SECURITY_ERR: 18; SYNTAX_ERR: 12; TIMEOUT_ERR: 23; TYPE_MISMATCH_ERR: 17; URL_MISMATCH_ERR: 21; VALIDATION_ERR: 16; WRONG_DOCUMENT_ERR: 4; prototype: DOMException; new (message?,
name?): DOMException; } Type declaration
- new (message?, name?): DOMException
Parameters
Optional
message: string
Optional
name: string
Readonly
ABORT_ERR: 20
Readonly
DATA_CLONE_ERR: 25
Readonly
DOMSTRING_SIZE_ERR: 2
Readonly
HIERARCHY_REQUEST_ERR: 3
Readonly
INDEX_SIZE_ERR: 1
Readonly
INUSE_ATTRIBUTE_ERR: 10
Readonly
INVALID_ACCESS_ERR: 15
Readonly
INVALID_CHARACTER_ERR: 5
Readonly
INVALID_MODIFICATION_ERR: 13
Readonly
INVALID_NODE_TYPE_ERR: 24
Readonly
INVALID_STATE_ERR: 11
Readonly
NAMESPACE_ERR: 14
Readonly
NETWORK_ERR: 19
Readonly
NOT_FOUND_ERR: 8
Readonly
NOT_SUPPORTED_ERR: 9
Readonly
NO_DATA_ALLOWED_ERR: 6
Readonly
NO_MODIFICATION_ALLOWED_ERR: 7
Readonly
QUOTA_EXCEEDED_ERR: 22
Readonly
SECURITY_ERR: 18
Readonly
SYNTAX_ERR: 12
Readonly
TIMEOUT_ERR: 23
Readonly
TYPE_MISMATCH_ERR: 17
Readonly
URL_MISMATCH_ERR: 21
Readonly
VALIDATION_ERR: 16
Readonly
WRONG_DOCUMENT_ERR: 4