W3cubDocs

/Haxe JavaScript

DOMError

package js.html

@:native("DOMError") 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:

Constructor

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

Throws:

null DOMError

Variables

read only message:String

read only name:String

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

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