pub trait DOMExceptionMethods<D: DomTypes> {
    // Required methods
    fn Code(&self) -> u16;
    fn Name(&self) -> DOMString;
    fn Message(&self) -> DOMString;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        message: DOMString,
        name: DOMString,
    ) -> Result<Root<Dom<DOMException>>, Error>;
}

Required Methods§

source

fn Code(&self) -> u16

source

fn Name(&self) -> DOMString

source

fn Message(&self) -> DOMString

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, message: DOMString, name: DOMString, ) -> Result<Root<Dom<DOMException>>, Error>

Object Safety§

This trait is not object safe.

Implementors§