The DOMError interface describes an error object that contains an error name.

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

See also:

Constructor

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

Throws:

null

DOMError

Variables

read onlymessage:String

Returns a DOMString representing a message or description associated with the given error type name.

read onlyname:String

Returns a DOMString representing one of the error type names (see below).