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: String
Is a DOMString
containing a human-readable error message describing the problem.
filename: String
Is a DOMString
containing the name of the script file in which the error occurred.
lineno: Int
Is an integer
containing the line number of the script file on which the error occurred.
colno: Int
Is an integer
containing the column number of the script file on which the error occurred.
error: Dynamic
Is 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) |