ErrorEvent(type, options)
Event carrying an uncaught Worker error. Trusted Worker error events dispatched by JSplitter are non-cancelable because handler presence itself determines whether the error is handled.
Parameters
| Name | Type | Description |
type | string | |
optionsoptional | Object | |
colno: number = 0
Source column associated with the error, or 0 when unavailable.
error: *
Original thrown JavaScript value when it can be exposed to the receiving realm.
filename: string = ""
Script filename associated with the error when one is available. File-backed Workers report the basename, matching panel-script diagnostics.
lineno: number = 0
One-based source line associated with the error, or 0 when unavailable.
message: string = ""
Human-readable error message reported by the failing Worker script or callback.