Skip to content

ErrorEvent

Generated from idl/workers.webidl when the site was built at 7aa23e2.

ErrorEvent is an interface in idl/workers.webidl, inheriting Event, exposed in Window, Worker. What it does is on MDN; this page says what niso has of it.

web-features maps none of its members to a feature, so there is no WPT score for it.

constructor
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
int32_t niso_error_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_error_event_init* event_init_dict, niso_handle* out);
attribute
readonly attribute DOMString message;
int32_t niso_error_event_get_message(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute USVString filename;
int32_t niso_error_event_get_filename(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute unsigned long lineno;
int32_t niso_error_event_get_lineno(niso_dom* dom, niso_handle self, uint32_t* out);
attribute
readonly attribute unsigned long colno;
int32_t niso_error_event_get_colno(niso_dom* dom, niso_handle self, uint32_t* out);
attribute
readonly attribute [NisoHeld] any error;
int32_t niso_error_event_get_error(niso_dom* dom, niso_handle self, void** out);