Struct chromiumoxide::cdp::js_protocol::runtime::ExceptionDetails [−][src]
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]
exception_id: impl Into<i64>,
text: impl Into<String>,
line_number: impl Into<i64>,
column_number: impl Into<i64>
) -> ExceptionDetails
impl ExceptionDetails
[src]
pub fn builder() -> ExceptionDetailsBuilder
[src]
impl ExceptionDetails
[src]
pub const IDENTIFIER: &'static str
[src]
Trait Implementations
impl Clone for ExceptionDetails
[src]
pub 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]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ExceptionDetails, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<ExceptionDetails, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Display for ExceptionDetails
[src]
impl Error for ExceptionDetails
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<ExceptionDetails> for ExceptionDetails
[src]
pub fn eq(&self, other: &ExceptionDetails) -> bool
[src]
pub fn ne(&self, other: &ExceptionDetails) -> bool
[src]
impl Serialize for ExceptionDetails
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for ExceptionDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExceptionDetails
impl Send for ExceptionDetails
impl Sync for ExceptionDetails
impl Unpin for ExceptionDetails
impl UnwindSafe for ExceptionDetails
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> Same<T> for T
type Output = T
Should always be Self
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,