Struct chromiumoxide::cdp::js_protocol::runtime::ExceptionDetails[][src]

pub struct ExceptionDetails {
    pub exception_id: i64,
    pub text: String,
    pub line_number: i64,
    pub column_number: i64,
    pub script_id: Option<ScriptId>,
    pub url: Option<String>,
    pub stack_trace: Option<StackTrace>,
    pub exception: Option<RemoteObject>,
    pub execution_context_id: Option<ExecutionContextId>,
}

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

Fields

exception_id: i64

Exception id.

text: String

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

line_number: i64

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

column_number: i64

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

script_id: Option<ScriptId>

Script ID of the exception location.

url: Option<String>

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

stack_trace: Option<StackTrace>

JavaScript stack trace if available.

exception: Option<RemoteObject>

Exception object if available.

execution_context_id: Option<ExecutionContextId>

Identifier of the context where exception happened.

Implementations

impl ExceptionDetails[src]

pub fn new(
    exception_id: impl Into<i64>,
    text: impl Into<String>,
    line_number: impl Into<i64>,
    column_number: impl Into<i64>
) -> ExceptionDetails
[src]

impl ExceptionDetails[src]

impl ExceptionDetails[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for ExceptionDetails[src]

impl Debug for ExceptionDetails[src]

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

impl Display for ExceptionDetails[src]

impl Error for ExceptionDetails[src]

impl PartialEq<ExceptionDetails> for ExceptionDetails[src]

impl Serialize for ExceptionDetails[src]

impl StructuralPartialEq 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> Same<T> for T

type Output = T

Should always be Self

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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,