DOMException
js.html.DOMException (extern class)
The DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
Documentation DOMException by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Static Members
INDEX_SIZE_ERR: IntDOMSTRING_SIZE_ERR: IntHIERARCHY_REQUEST_ERR: IntWRONG_DOCUMENT_ERR: IntINVALID_CHARACTER_ERR: IntNO_DATA_ALLOWED_ERR: IntNO_MODIFICATION_ALLOWED_ERR: IntNOT_FOUND_ERR: IntNOT_SUPPORTED_ERR: IntINUSE_ATTRIBUTE_ERR: IntINVALID_STATE_ERR: IntSYNTAX_ERR: IntINVALID_MODIFICATION_ERR: IntNAMESPACE_ERR: IntINVALID_ACCESS_ERR: IntVALIDATION_ERR: IntTYPE_MISMATCH_ERR: IntSECURITY_ERR: IntNETWORK_ERR: IntABORT_ERR: IntURL_MISMATCH_ERR: IntQUOTA_EXCEEDED_ERR: IntTIMEOUT_ERR: IntINVALID_NODE_TYPE_ERR: IntDATA_CLONE_ERR: IntInstance Members
name: StringReturns a DOMString that contains one of the strings associated with an error name.
message: StringReturns a DOMString representing a message or description associated with the given error name.
code: IntReturns a short that contains one of the Error codes, or 0 if none match. This field is used for historical reasons. New DOM exceptions don't use this anymore: they put this info in the DOMException.name attribute.
result: Intfilename: StringlineNumber: IntcolumnNumber: Intdata: Dynamicstack: String| Name | Type | Default |
|---|---|---|
message |
String | "" |
name |
String | (optional) |