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