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: i32
Exception id.
text: Cow<'a, str>
Exception text, which should be used together with exception object when available.
line_number: i32
Line number of the exception location (0-based).
column_number: i32
Column number of the exception location (0-based).
script_id: Option<ScriptId<'a>>
Script ID of the exception location.
url: Option<Cow<'a, str>>
URL of the exception location, to be used when the script was not reported.
stack_trace: Option<StackTrace<'a>>
JavaScript stack trace if available.
exception: Option<RemoteObject<'a>>
Exception object if available.
execution_context_id: Option<ExecutionContextId>
Identifier of the context where exception happened.
Trait Implementations
impl<'a> Clone for ExceptionDetails<'a>
[src]
fn clone(&self) -> ExceptionDetails<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ExceptionDetails<'a>
[src]
impl<'a> PartialEq for ExceptionDetails<'a>
[src]
fn eq(&self, __arg_0: &ExceptionDetails<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExceptionDetails<'a>) -> bool
[src]
This method tests for !=
.