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:

Constructor

new (type:String, ?eventInitDict:ErrorEventInit)

Throws:

null DOMError

Variables

read only colno:Int

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

read only error:Dynamic

Is a JavaScript Object that is concerned by the event.

read only filename:String

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

read only lineno:Int

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

read only message:String

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

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