ErrorEvent
Module: JavaScript DOM API
#include <ErrorEvent.idl>
Inherits from Event
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| ErrorEvent | ErrorEvent(DOMInternedString type, optional ErrorEventInit eventInitDict) |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| readonly attribute DOMString | message |
| readonly attribute DOMString | filename |
| readonly attribute unsigned long | lineno |
| readonly attribute unsigned long | colno |
| readonly attribute any | error |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from Event
| Name | |
|---|---|
| Event | Event(DOMInternedString type, optional EventInit initEvent) |
| void | stopPropagation() |
| void | preventDefault() |
| void | initEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg) |
| void | stopImmediatePropagation() |
Public Attributes inherited from Event
| Name | |
|---|---|
| const unsigned short | NONE |
| const unsigned short | CAPTURING_PHASE |
| const unsigned short | AT_TARGET |
| const unsigned short | BUBBLING_PHASE |
| readonly attribute DOMString | type |
| readonly attribute EventTarget | target |
| readonly attribute EventTarget | currentTarget |
| readonly attribute unsigned short | eventPhase |
| readonly attribute boolean | bubbles |
| readonly attribute boolean | cancelable |
| readonly attribute boolean | defaultPrevented |
| readonly attribute boolean | composed |
Public Functions Documentation
Section titled “Public Functions Documentation”function ErrorEvent
Section titled “function ErrorEvent”ErrorEvent ErrorEvent( DOMInternedString type, optional ErrorEventInit eventInitDict)Public Attributes Documentation
Section titled “Public Attributes Documentation”variable message
Section titled “variable message”readonly attribute DOMString message;variable filename
Section titled “variable filename”readonly attribute DOMString filename;variable lineno
Section titled “variable lineno”readonly attribute unsigned long lineno;variable colno
Section titled “variable colno”readonly attribute unsigned long colno;variable error
Section titled “variable error”readonly attribute any error;© 2026 Coherent Labs. All rights reserved.