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

pub struct ExceptionDetails<'a> {
    pub exception_id: i32,
    pub text: Cow<'a, str>,
    pub line_number: i32,
    pub column_number: i32,
    pub script_id: Option<ScriptId<'a>>,
    pub url: Option<Cow<'a, str>>,
    pub stack_trace: Option<StackTrace<'a>>,
    pub exception: Option<RemoteObject<'a>>,
    pub execution_context_id: Option<ExecutionContextId>,
}

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

Fields

Exception id.

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

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

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

Script ID of the exception location.

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

JavaScript stack trace if available.

Exception object if available.

Identifier of the context where exception happened.

Trait Implementations

impl<'a> Clone for ExceptionDetails<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ExceptionDetails<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ExceptionDetails<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.