ErrorEvent
Event → js.html.ErrorEvent (extern class)
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:
Instance Members
message: StringIs a DOMString containing a human-readable error message describing the problem.
filename: StringIs a DOMString containing the name of the script file in which the error occurred.
lineno: IntIs an integer containing the line number of the script file on which the error occurred.
colno: IntIs an integer containing the column number of the script file on which the error occurred.
error: DynamicIs a JavaScript Object that is concerned by the event.
new(type: String, ?eventInitDict: Null<ErrorEventInit>): Void| Name | Type | Default |
|---|---|---|
type |
String | |
eventInitDict |
Null<ErrorEventInit> | (optional) |