[−][src]Struct stdweb::web::error::Error
A reference to a JavaScript Error
object. An Error
is thrown whenever a run-time error
occurs.
Methods
impl Error
[src]
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.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Reference> for Error
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Reference> for Error
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
impl TryFrom<Value> for Error
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Value> for Error
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for TypeError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for DomException
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for HierarchyRequestError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for InvalidAccessError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for NotFoundError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for SecurityError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for SyntaxError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for IndexSizeError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for InvalidStateError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for NotSupportedError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for InvalidCharacterError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl TryFrom<Error> for AbortError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
impl InstanceOf for Error
[src]
fn instance_of(reference: &Reference) -> bool
[src]
impl ReferenceType for Error
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
impl IError for Error
[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 PartialEq<Error> for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for Error
[src]
impl From<Error> for Reference
[src]
impl From<TypeError> for Error
[src]
impl From<DomException> for Error
[src]
fn from(value: DomException) -> Self
[src]
impl From<HierarchyRequestError> for Error
[src]
fn from(value: HierarchyRequestError) -> Self
[src]
impl From<InvalidAccessError> for Error
[src]
fn from(value: InvalidAccessError) -> Self
[src]
impl From<NotFoundError> for Error
[src]
fn from(value: NotFoundError) -> Self
[src]
impl From<SecurityError> for Error
[src]
fn from(value: SecurityError) -> Self
[src]
impl From<SyntaxError> for Error
[src]
fn from(value: SyntaxError) -> Self
[src]
impl From<IndexSizeError> for Error
[src]
fn from(value: IndexSizeError) -> Self
[src]
impl From<InvalidStateError> for Error
[src]
fn from(value: InvalidStateError) -> Self
[src]
impl From<NotSupportedError> for Error
[src]
fn from(value: NotSupportedError) -> Self
[src]
impl From<InvalidCharacterError> for Error
[src]
fn from(value: InvalidCharacterError) -> Self
[src]
impl From<AbortError> for Error
[src]
fn from(value: AbortError) -> Self
[src]
impl Eq for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
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
Auto Trait Implementations
impl Unpin for Error
impl Send for Error
impl Sync for Error
impl UnwindSafe for Error
impl RefUnwindSafe for Error
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,