DOMError

package js.html

Available on js

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

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

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