← Back to index
interface DOMException
extends Error

Properties

🔗
name: string
🔗
message: string
🔗
code: number
🔗
INDEX_SIZE_ERR: 1
🔗
DOMSTRING_SIZE_ERR: 2
🔗
HIERARCHY_REQUEST_ERR: 3
🔗
WRONG_DOCUMENT_ERR: 4
🔗
INVALID_CHARACTER_ERR: 5
🔗
NO_DATA_ALLOWED_ERR: 6
🔗
NO_MODIFICATION_ALLOWED_ERR: 7
🔗
NOT_FOUND_ERR: 8
🔗
NOT_SUPPORTED_ERR: 9
🔗
INUSE_ATTRIBUTE_ERR: 10
🔗
INVALID_STATE_ERR: 11
🔗
SYNTAX_ERR: 12
🔗
INVALID_MODIFICATION_ERR: 13
🔗
NAMESPACE_ERR: 14
🔗
INVALID_ACCESS_ERR: 15
🔗
VALIDATION_ERR: 16
🔗
TYPE_MISMATCH_ERR: 17
🔗
SECURITY_ERR: 18
🔗
NETWORK_ERR: 19
🔗
ABORT_ERR: 20
🔗
URL_MISMATCH_ERR: 21
🔗
QUOTA_EXCEEDED_ERR: 22
🔗
TIMEOUT_ERR: 23
🔗
INVALID_NODE_TYPE_ERR: 24
🔗
DATA_CLONE_ERR: 25
variable DOMException

type

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