W3cubDocs

/Haxe JavaScript

DOMException

package js.html

@:native("DOMException") 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. This is basically how error conditions are described in web APIs.

Documentation DOMException by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

@:value({ message : "" }) new (message:String = "", ?name:String)

Throws:

null DOMError

Variables

read only code:Int

read only columnNumber:Int

read only data:Dynamic

read only filename:String

read only lineNumber:Int

read only message:String

read only name:String

read only result:Int

read only stack:String

Static variables

@:value(20) static inline read only ABORT_ERR:Int = 20

@:value(25) static inline read only DATA_CLONE_ERR:Int = 25

@:value(2) static inline read only DOMSTRING_SIZE_ERR:Int = 2

@:value(3) static inline read only HIERARCHY_REQUEST_ERR:Int = 3

@:value(1) static inline read only INDEX_SIZE_ERR:Int = 1

@:value(10) static inline read only INUSE_ATTRIBUTE_ERR:Int = 10

@:value(15) static inline read only INVALID_ACCESS_ERR:Int = 15

@:value(5) static inline read only INVALID_CHARACTER_ERR:Int = 5

@:value(13) static inline read only INVALID_MODIFICATION_ERR:Int = 13

@:value(24) static inline read only INVALID_NODE_TYPE_ERR:Int = 24

@:value(11) static inline read only INVALID_STATE_ERR:Int = 11

@:value(14) static inline read only NAMESPACE_ERR:Int = 14

@:value(19) static inline read only NETWORK_ERR:Int = 19

@:value(8) static inline read only NOT_FOUND_ERR:Int = 8

@:value(9) static inline read only NOT_SUPPORTED_ERR:Int = 9

@:value(6) static inline read only NO_DATA_ALLOWED_ERR:Int = 6

@:value(7) static inline read only NO_MODIFICATION_ALLOWED_ERR:Int = 7

@:value(22) static inline read only QUOTA_EXCEEDED_ERR:Int = 22

@:value(18) static inline read only SECURITY_ERR:Int = 18

@:value(12) static inline read only SYNTAX_ERR:Int = 12

@:value(23) static inline read only TIMEOUT_ERR:Int = 23

@:value(17) static inline read only TYPE_MISMATCH_ERR:Int = 17

@:value(21) static inline read only URL_MISMATCH_ERR:Int = 21

@:value(16) static inline read only VALIDATION_ERR:Int = 16

@:value(4) static inline read only WRONG_DOCUMENT_ERR:Int = 4

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMException.html