ErrorEvent interface represents events providing information related to errors in scripts or in files.
Also inherits properties from its parent
A string containing a human-readable error message describing the problem. Lacking a
crossoriginsetting reduces error logging.
A string containing the name of the script file in which the error occurred.
integercontaining the line number of the script file on which the error occurred.
integercontaining the column number of the script file on which the error occurred.
Objectthat is concerned by the event.
ErrorEventevent with the given parameters.
Inherits methods from its parent
|HTML Standard |
BCD tables only load in the browser
- Using web workers, most likely objects to raise such an event