pub struct GetExceptionDetails {
pub method: GetExceptionDetailsMethod,
pub params: GetExceptionDetailsParams,
}Expand description
This method tries to lookup and populate exception details for a JavaScript Error object. Note that the stackTrace portion of the resulting exceptionDetails will only be populated if the Runtime domain was enabled at the time when the Error was thrown. getExceptionDetails
Fields§
§method: GetExceptionDetailsMethod§params: GetExceptionDetailsParamsImplementations§
Source§impl GetExceptionDetails
impl GetExceptionDetails
pub fn builder() -> GetExceptionDetailsBuilder
Source§impl GetExceptionDetails
impl GetExceptionDetails
pub const IDENTIFIER: &'static str = "Runtime.getExceptionDetails"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetExceptionDetails
impl Clone for GetExceptionDetails
Source§fn clone(&self) -> GetExceptionDetails
fn clone(&self) -> GetExceptionDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandResult for GetExceptionDetails
impl CommandResult for GetExceptionDetails
type Result = GetExceptionDetailsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetExceptionDetails
impl Debug for GetExceptionDetails
Source§impl<'de> Deserialize<'de> for GetExceptionDetails
impl<'de> Deserialize<'de> for GetExceptionDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<GetExceptionDetails> for Command
impl From<GetExceptionDetails> for Command
Source§fn from(v: GetExceptionDetails) -> Self
fn from(v: GetExceptionDetails) -> Self
Converts to this type from the input type.
Source§impl From<GetExceptionDetails> for JsProtocolCommands
impl From<GetExceptionDetails> for JsProtocolCommands
Source§fn from(v: GetExceptionDetails) -> Self
fn from(v: GetExceptionDetails) -> Self
Converts to this type from the input type.
Source§impl From<GetExceptionDetails> for RuntimeCommands
impl From<GetExceptionDetails> for RuntimeCommands
Source§fn from(v: GetExceptionDetails) -> Self
fn from(v: GetExceptionDetails) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetExceptionDetails
impl PartialEq for GetExceptionDetails
Source§impl Serialize for GetExceptionDetails
impl Serialize for GetExceptionDetails
Source§impl TryFrom<Command> for GetExceptionDetails
impl TryFrom<Command> for GetExceptionDetails
Source§impl TryFrom<JsProtocolCommands> for GetExceptionDetails
impl TryFrom<JsProtocolCommands> for GetExceptionDetails
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <GetExceptionDetails as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <GetExceptionDetails as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeCommands> for GetExceptionDetails
impl TryFrom<RuntimeCommands> for GetExceptionDetails
Source§type Error = RuntimeCommands
type Error = RuntimeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeCommands,
) -> Result<Self, <GetExceptionDetails as TryFrom<RuntimeCommands>>::Error>
fn try_from( e: RuntimeCommands, ) -> Result<Self, <GetExceptionDetails as TryFrom<RuntimeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetExceptionDetails
Auto Trait Implementations§
impl Freeze for GetExceptionDetails
impl RefUnwindSafe for GetExceptionDetails
impl Send for GetExceptionDetails
impl Sync for GetExceptionDetails
impl Unpin for GetExceptionDetails
impl UnsafeUnpin for GetExceptionDetails
impl UnwindSafe for GetExceptionDetails
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more