[][src]Struct deno::V8Exception

pub struct V8Exception {
    pub message: String,
    pub source_line: Option<String>,
    pub script_resource_name: Option<String>,
    pub line_number: Option<i64>,
    pub start_position: Option<i64>,
    pub end_position: Option<i64>,
    pub error_level: Option<i64>,
    pub start_column: Option<i64>,
    pub end_column: Option<i64>,
    pub frames: Vec<StackFrame>,
}

Fields

message: Stringsource_line: Option<String>script_resource_name: Option<String>line_number: Option<i64>start_position: Option<i64>end_position: Option<i64>error_level: Option<i64>start_column: Option<i64>end_column: Option<i64>frames: Vec<StackFrame>

Methods

impl V8Exception[src]

pub fn from_json(json_str: &str) -> Option<Self>[src]

Creates a new V8Exception by parsing the raw exception JSON string from V8.

pub fn from_json_value(v: Value) -> Option<Self>[src]

Trait Implementations

impl Clone for V8Exception[src]

impl PartialEq<V8Exception> for V8Exception[src]

impl Debug for V8Exception[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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