Trait stdweb::traits::IError [] [src]

pub trait IError: ReferenceType {
    fn message(&self) -> String { ... }
fn name(&self) -> String { ... } }

Represents the JavaScript Error interface. An Error is thrown whenever a run-time error occurs.

(JavaScript docs)

Provided Methods

Returns a human-readable description of the error.

(JavaScript docs)

Returns a name specifiying the type of error.

(JavaScript docs)

Implementors