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

pub struct SyntaxError(_);

Occurs when an argument does not match the expected pattern.

Trait Implementations

impl JsSerialize for SyntaxError[src]

impl TryFrom<Error> for SyntaxError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<DomException> for SyntaxError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<SyntaxError> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for SyntaxError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for SyntaxError[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for SyntaxError[src]

impl ReferenceType for SyntaxError[src]

impl IError for SyntaxError[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 IDomException for SyntaxError[src]

impl PartialEq<SyntaxError> for SyntaxError[src]

impl AsRef<Reference> for SyntaxError[src]

impl Clone for SyntaxError[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<SyntaxError> for Error[src]

impl From<SyntaxError> for DomException[src]

impl From<SyntaxError> for Reference[src]

impl Eq for SyntaxError[src]

impl Display for SyntaxError[src]

impl Debug for SyntaxError[src]

impl Error for SyntaxError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

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

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0
[src]

Gets the TypeId of self

Auto Trait Implementations

impl Send for SyntaxError

impl Sync for SyntaxError

Blanket Implementations

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> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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