Struct chrome_remote_interface_model::runtime::ExceptionDetails [−][src]
This is supported on crate feature
Runtime
only.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]
fn clone(&self) -> ExceptionDetails
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExceptionDetails
[src]
impl<'de> Deserialize<'de> for ExceptionDetails
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ExceptionDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExceptionDetails
[src]
impl Send for ExceptionDetails
[src]
impl Sync for ExceptionDetails
[src]
impl Unpin for ExceptionDetails
[src]
impl UnwindSafe for ExceptionDetails
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,