package js.html
Available on js
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 also:
staticinlineread onlyABORT_ERR:Int = 20staticinlineread onlyDATA_CLONE_ERR:Int = 25staticinlineread onlyDOMSTRING_SIZE_ERR:Int = 2staticinlineread onlyHIERARCHY_REQUEST_ERR:Int = 3staticinlineread onlyINDEX_SIZE_ERR:Int = 1staticinlineread onlyINUSE_ATTRIBUTE_ERR:Int = 10staticinlineread onlyINVALID_ACCESS_ERR:Int = 15staticinlineread onlyINVALID_CHARACTER_ERR:Int = 5staticinlineread onlyINVALID_MODIFICATION_ERR:Int = 13staticinlineread onlyINVALID_NODE_TYPE_ERR:Int = 24staticinlineread onlyINVALID_STATE_ERR:Int = 11staticinlineread onlyNAMESPACE_ERR:Int = 14staticinlineread onlyNETWORK_ERR:Int = 19staticinlineread onlyNOT_FOUND_ERR:Int = 8staticinlineread onlyNOT_SUPPORTED_ERR:Int = 9staticinlineread onlyNO_DATA_ALLOWED_ERR:Int = 6staticinlineread onlyNO_MODIFICATION_ALLOWED_ERR:Int = 7staticinlineread onlyQUOTA_EXCEEDED_ERR:Int = 22staticinlineread onlySECURITY_ERR:Int = 18staticinlineread onlySYNTAX_ERR:Int = 12staticinlineread onlyTIMEOUT_ERR:Int = 23staticinlineread onlyTYPE_MISMATCH_ERR:Int = 17staticinlineread onlyURL_MISMATCH_ERR:Int = 21staticinlineread onlyVALIDATION_ERR:Int = 16staticinlineread onlyWRONG_DOCUMENT_ERR:Int = 4new(message:String = "", ?name:String)Throws:
null |
DOMError |
|---|
read onlycode: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.
read onlycolumnNumber:Intread onlydata:Dynamicread onlyfilename:Stringread onlylineNumber:Intread onlymessage:StringReturns a DOMString representing a message or description associated with the given error name.
read onlyname:StringReturns a DOMString that contains one of the strings associated with an error name.
read onlyresult:Intread onlystack:String
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMException.html