pub trait ErrorEventMethods {
    // Required methods
    fn Message(&self) -> DOMString;
    fn Filename(&self) -> DOMString;
    fn Lineno(&self) -> u32;
    fn Colno(&self) -> u32;
    fn Error(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: RootedTraceableBox<ErrorEventInit>,
    ) -> Result<Root<Dom<ErrorEvent>>, Error>;
}

Required Methods§

source

fn Message(&self) -> DOMString

source

fn Filename(&self) -> DOMString

source

fn Lineno(&self) -> u32

source

fn Colno(&self) -> u32

source

fn Error(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

source

fn IsTrusted(&self) -> bool

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: RootedTraceableBox<ErrorEventInit>, ) -> Result<Root<Dom<ErrorEvent>>, Error>

Object Safety§

This trait is not object safe.

Implementors§