[][src]Struct stdweb::web::error::DomException

pub struct DomException(_);

A reference to a JavaScript DOMException object.

(JavaScript docs)

Trait Implementations

impl JsSerialize for DomException[src]

impl TryFrom<Error> for DomException[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for DomException[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Reference> for DomException[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for DomException[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for DomException[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for HierarchyRequestError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for InvalidAccessError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for NotFoundError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for SecurityError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for SyntaxError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for IndexSizeError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for InvalidStateError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for NotSupportedError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for InvalidCharacterError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for AbortError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for DomException[src]

impl ReferenceType for DomException[src]

impl IError for DomException[src]

fn message(&self) -> String[src]

Returns a human-readable description of the error. Read more

fn name(&self) -> String[src]

Returns a name specifiying the type of error. Read more

impl IDomException for DomException[src]

impl PartialEq<DomException> for DomException[src]

impl AsRef<Reference> for DomException[src]

impl Clone for DomException[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<DomException> for Error[src]

impl From<DomException> for Reference[src]

impl From<HierarchyRequestError> for DomException[src]

impl From<InvalidAccessError> for DomException[src]

impl From<NotFoundError> for DomException[src]

impl From<SecurityError> for DomException[src]

impl From<SyntaxError> for DomException[src]

impl From<IndexSizeError> for DomException[src]

impl From<InvalidStateError> for DomException[src]

impl From<NotSupportedError> for DomException[src]

impl From<InvalidCharacterError> for DomException[src]

impl From<AbortError> for DomException[src]

impl Eq for DomException[src]

impl Display for DomException[src]

impl Debug for DomException[src]

impl Error for DomException[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0
[src]

Gets the TypeId of self

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]