Global Index
HTML5 JS API Index > DOM Tutorials & Specs

DOMException

Properties
const unsigned shortABORT_ERR = 20
const unsigned shortDATA_CLONE_ERR = 25
const unsigned shortDOMSTRING_SIZE_ERR = 2
const unsigned shortHIERARCHY_REQUEST_ERR = 3
const unsigned shortINDEX_SIZE_ERR = 1
const unsigned shortINUSE_ATTRIBUTE_ERR = 10
const unsigned shortINVALID_ACCESS_ERR = 15
const unsigned shortINVALID_CHARACTER_ERR = 5
const unsigned shortINVALID_MODIFICATION_ERR = 13
const unsigned shortINVALID_NODE_TYPE_ERR = 24
const unsigned shortINVALID_STATE_ERR = 11
const unsigned shortNAMESPACE_ERR = 14
const unsigned shortNETWORK_ERR = 19
const unsigned shortNO_DATA_ALLOWED_ERR = 6
const unsigned shortNO_MODIFICATION_ALLOWED_ERR = 7
const unsigned shortNOT_FOUND_ERR = 8
const unsigned shortNOT_SUPPORTED_ERR = 9
const unsigned shortQUOTA_EXCEEDED_ERR = 22
const unsigned shortSECURITY_ERR = 18
const unsigned shortSYNTAX_ERR = 12
const unsigned shortTIMEOUT_ERR = 23
const unsigned shortTYPE_MISMATCH_ERR = 17
const unsigned shortURL_MISMATCH_ERR = 21
const unsigned shortVALIDATION_ERR = 16
const unsigned shortWRONG_DOCUMENT_ERR = 4
unsigned short
code
The code exception field must return the value it was initialized to.