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

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]

[src]

Creates a new Error with the specified description.

(JavaScript docs)

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Error
[src]

impl InstanceOf for Error
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for Error
[src]

[src]

Performs the conversion.

impl ReferenceType for Error
[src]

[src]

Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more

impl From<Error> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for Error
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for Error
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for Error
[src]

impl IError for Error
[src]

[src]

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

[src]

Returns a name specifiying the type of error. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl From<DomException> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for DomException
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<HierarchyRequestError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for HierarchyRequestError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<InvalidAccessError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for InvalidAccessError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<NotFoundError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for NotFoundError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<SecurityError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for SecurityError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<SyntaxError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for SyntaxError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<IndexSizeError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for IndexSizeError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<InvalidStateError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for InvalidStateError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<TypeError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for TypeError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<NotSupportedError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for NotSupportedError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<InvalidCharacterError> for Error
[src]

[src]

Performs the conversion.

impl TryFrom<Error> for InvalidCharacterError
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error