ErrorEvent

interface

interface ErrorEvent extends Event

variable

var ErrorEvent: { … }

The constructor object for ErrorEvent, used to construct an event describing an uncaught error, such as the one dispatched on the global scope as error.

Constructors

constructor

new ErrorEvent(type: string, eventInitDict?: ErrorEventInit): ErrorEvent

Properties

message

readonly message: string

filename

readonly filename: string

lineno

readonly lineno: number

colno

readonly colno: number

error

readonly error: any

prototype

readonly prototype: ErrorEvent