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

pub struct Error(_);

A reference to a JavaScript Error object. An Error is thrown whenever a run-time error occurs.

(JavaScript docs)

Methods

impl Error[src]

pub fn new(description: &str) -> Self[src]

Creates a new Error with the specified description.

(JavaScript docs)

Trait Implementations

impl JsSerialize for Error[src]

impl TryFrom<Error> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for Error[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for Error[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for TypeError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for DomException[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for HierarchyRequestError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for InvalidAccessError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for NotFoundError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for SecurityError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for SyntaxError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for IndexSizeError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for InvalidStateError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for NotSupportedError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for InvalidCharacterError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Error> for AbortError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for Error[src]

impl ReferenceType for Error[src]

impl IError for Error[src]

impl AsRef<Reference> for Error[src]

impl From<Error> for Reference[src]

impl From<TypeError> for Error[src]

impl From<DomException> for Error[src]

impl From<HierarchyRequestError> for Error[src]

impl From<InvalidAccessError> for Error[src]

impl From<NotFoundError> for Error[src]

impl From<SecurityError> for Error[src]

impl From<SyntaxError> for Error[src]

impl From<IndexSizeError> for Error[src]

impl From<InvalidStateError> for Error[src]

impl From<NotSupportedError> for Error[src]

impl From<InvalidCharacterError> for Error[src]

impl From<AbortError> for Error[src]

impl Clone for Error[src]

impl Eq for Error[src]

impl PartialEq<Error> for Error[src]

impl Display for Error[src]

impl Debug for Error[src]

impl Error for Error[src]

Auto Trait Implementations

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

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

impl<T> From<T> for T[src]

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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<T> for T where
    T: ?Sized
[src]

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

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