[][src]Struct duk::JsError

pub struct JsError {
    pub kind: JsErrorKind,
    pub message: String,
    pub file_name: Option<String>,
    pub line_number: Option<usize>,
    pub stack: Option<String>,
}

An error that originates from executing Javascript/Ecmascript.

Fields

kind: JsErrorKind

The kind of error.

message: String

A descriptive user-controlled error message.

file_name: Option<String>line_number: Option<usize>stack: Option<String>

Trait Implementations

impl Clone for JsError[src]

impl Debug for JsError[src]

impl Eq for JsError[src]

impl PartialEq<JsError> for JsError[src]

impl StructuralEq for JsError[src]

impl StructuralPartialEq for JsError[src]

Auto Trait Implementations

impl RefUnwindSafe for JsError

impl Send for JsError

impl Sync for JsError

impl Unpin for JsError

impl UnwindSafe for JsError

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.