W3cubDocs

/Haxe JavaScript

ErrorEvent

package js.html

extends Event

Available on js

The ErrorEvent interface represents events providing information related to errors in scripts or in files.

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

See also:

Constructor

new(type:String, ?eventInitDict:Null<ErrorEventInit>)

Throws:

null

DOMError

Variables

read onlycolno:Int

Is an integer containing the column number of the script file on which the error occurred.

read onlyerror:Dynamic

Is a JavaScript Object that is concerned by the event.

read onlyfilename:String

Is a DOMString containing the name of the script file in which the error occurred.

read onlylineno:Int

Is an integer containing the line number of the script file on which the error occurred.

read onlymessage:String

Is a DOMString containing a human-readable error message describing the problem.

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