ErrorEvent

Module: JavaScript DOM API

#include <ErrorEvent.idl>

Inherits from Event

Public Functions

Name
ErrorEventErrorEvent(DOMInternedString type, optional ErrorEventInit eventInitDict)

Public Attributes

Name
readonly attribute DOMStringmessage
readonly attribute DOMStringfilename
readonly attribute unsigned longlineno
readonly attribute unsigned longcolno
readonly attribute anyerror

Additional inherited members

Public Functions inherited from Event

Name
EventEvent(DOMInternedString type, optional EventInit initEvent)
voidstopPropagation()
voidpreventDefault()
voidinitEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg)
voidstopImmediatePropagation()

Public Attributes inherited from Event

Name
const unsigned shortNONE
const unsigned shortCAPTURING_PHASE
const unsigned shortAT_TARGET
const unsigned shortBUBBLING_PHASE
readonly attribute DOMStringtype
readonly attribute EventTargettarget
readonly attribute EventTargetcurrentTarget
readonly attribute unsigned shorteventPhase
readonly attribute booleanbubbles
readonly attribute booleancancelable
readonly attribute booleandefaultPrevented

Public Functions Documentation

function ErrorEvent

ErrorEvent ErrorEvent(
    DOMInternedString type,
    optional ErrorEventInit eventInitDict
)

Public Attributes Documentation

variable message

readonly attribute DOMString message;

variable filename

readonly attribute DOMString filename;

variable lineno

readonly attribute unsigned long lineno;

variable colno

readonly attribute unsigned long colno;

variable error

readonly attribute any error;