Struct chrome_remote_interface_model::runtime::ExceptionDetails[][src]

pub struct ExceptionDetails { /* fields omitted */ }

Detailed information about exception (or error) that was thrown during script compilation or execution.

Implementations

impl ExceptionDetails[src]

pub fn builder() -> ExceptionDetailsBuilder[src]

pub fn exception_id(&self) -> u32[src]

Exception id.

pub fn text(&self) -> &str[src]

Exception text, which should be used together with exception object when available.

pub fn line_number(&self) -> u32[src]

Line number of the exception location (0-based).

pub fn column_number(&self) -> u32[src]

Column number of the exception location (0-based).

pub fn script_id(&self) -> Option<&ScriptId>[src]

Script ID of the exception location.

pub fn url(&self) -> Option<&String>[src]

URL of the exception location, to be used when the script was not reported.

pub fn stack_trace(&self) -> Option<&StackTrace>[src]

JavaScript stack trace if available.

pub fn exception(&self) -> Option<&RemoteObject>[src]

Exception object if available.

pub fn execution_context_id(&self) -> Option<&ExecutionContextId>[src]

Identifier of the context where exception happened.

Trait Implementations

impl Clone for ExceptionDetails[src]

impl Debug for ExceptionDetails[src]

impl<'de> Deserialize<'de> for ExceptionDetails[src]

impl Serialize for ExceptionDetails[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.