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.
Provided Methods
fn message(&self) -> String
Returns a human-readable description of the error.
fn name(&self) -> String
Returns a name specifiying the type of error.
Implementors
impl IError for Error
impl IError for DomException
impl IError for HierarchyRequestError
impl IError for InvalidAccessError
impl IError for NotFoundError
impl IError for SecurityError
impl IError for SyntaxError
impl IError for IndexSizeError
impl IError for InvalidStateError
impl IError for TypeError
impl IError for NotSupportedError
impl IError for InvalidCharacterError