W3cubDocs

/Haxe JavaScript

DOMException

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. 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

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

static inline read only ABORT_ERR:Int = 20

static inline read only DATA_CLONE_ERR:Int = 25

static inline read only DOMSTRING_SIZE_ERR:Int = 2

static inline read only HIERARCHY_REQUEST_ERR:Int = 3

static inline read only INDEX_SIZE_ERR:Int = 1

static inline read only INUSE_ATTRIBUTE_ERR:Int = 10

static inline read only INVALID_ACCESS_ERR:Int = 15

static inline read only INVALID_CHARACTER_ERR:Int = 5

static inline read only INVALID_MODIFICATION_ERR:Int = 13

static inline read only INVALID_NODE_TYPE_ERR:Int = 24

static inline read only INVALID_STATE_ERR:Int = 11

static inline read only NAMESPACE_ERR:Int = 14

static inline read only NETWORK_ERR:Int = 19

static inline read only NOT_FOUND_ERR:Int = 8

static inline read only NOT_SUPPORTED_ERR:Int = 9

static inline read only NO_DATA_ALLOWED_ERR:Int = 6

static inline read only NO_MODIFICATION_ALLOWED_ERR:Int = 7

static inline read only QUOTA_EXCEEDED_ERR:Int = 22

static inline read only SECURITY_ERR:Int = 18

static inline read only SYNTAX_ERR:Int = 12

static inline read only TIMEOUT_ERR:Int = 23

static inline read only TYPE_MISMATCH_ERR:Int = 17

static inline read only URL_MISMATCH_ERR:Int = 21

static inline read only VALIDATION_ERR:Int = 16

static inline read only WRONG_DOCUMENT_ERR:Int = 4

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