WebIDLpedia

ErrorEvent interface

Definition

HTML Standard defines ErrorEvent



[Exposed=*]
interface ErrorEvent : Event {
  constructor(DOMString type, optional ErrorEventInit eventInitDict = {});

  readonly attribute DOMString message;
  readonly attribute USVString filename;
  readonly attribute unsigned long lineno;
  readonly attribute unsigned long colno;
  readonly attribute any error;
};

Methods and attributes that return objects implementing ErrorEvent