DomError
A collection of official DOM error codes.
Abort = 20
The operation was aborted.
DataClone = 25
The object can not be cloned.
DomStringSize = 2
The size of the string is invalid.
HierarchyRequest = 3
The operation would yield an incorrect node tree.
IndexSizeError = 1
The index is not in the allowed range.
InUse = 10
The element is already in-use.
InvalidAccess = 15
The object does not support the operation or argument.
InvalidCharacter = 5
Invalid character detected.
InvalidModification = 13
The object can not be modified in this way.
InvalidNodeType = 24
The supplied node is incorrect or has an incorrect ancestor for this operation.
InvalidState = 11
The object is in an invalid state.
Namespace = 14
The operation is not allowed by namespaces in XML.
Network = 19
A network error occurred.
NoDataAllowed = 6
The data is allowed for this object.
The object can not be modified.
NotFound = 8
The object can not be found here.
NotSupported = 9
The operation is not supported.
QuotaExceeded = 22
The quota has been exceeded.
Security = 18
The operation is insecure.
Syntax = 12
The string did not match the expected pattern.
Timeout = 23
The operation timed out.
TypeMismatch = 17
The provided argument type is invalid.
UrlMismatch = 21
The given URL does not match another URL.
Validation = 15
The validation failed.
WrongDocument = 4
The object is in the wrong document.