pub struct GetExceptionDetailsParams<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> GetExceptionDetailsParams<'a>
impl<'a> GetExceptionDetailsParams<'a>
Sourcepub fn builder(
error_object_id: impl Into<RemoteObjectId<'a>>,
) -> GetExceptionDetailsParamsBuilder<'a>
pub fn builder( error_object_id: impl Into<RemoteObjectId<'a>>, ) -> GetExceptionDetailsParamsBuilder<'a>
Creates a builder for this type with the required parameters:
error_object_id: The error object for which to resolve the exception details.
Sourcepub fn error_object_id(&self) -> &RemoteObjectId<'a>
pub fn error_object_id(&self) -> &RemoteObjectId<'a>
The error object for which to resolve the exception details.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetExceptionDetailsParams<'a>
impl<'a> CdpCommand<'a> for GetExceptionDetailsParams<'a>
Source§impl<'a> Clone for GetExceptionDetailsParams<'a>
impl<'a> Clone for GetExceptionDetailsParams<'a>
Source§fn clone(&self) -> GetExceptionDetailsParams<'a>
fn clone(&self) -> GetExceptionDetailsParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetExceptionDetailsParams<'a>
impl<'a> Debug for GetExceptionDetailsParams<'a>
Source§impl<'a> Default for GetExceptionDetailsParams<'a>
impl<'a> Default for GetExceptionDetailsParams<'a>
Source§fn default() -> GetExceptionDetailsParams<'a>
fn default() -> GetExceptionDetailsParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetExceptionDetailsParams<'a>
impl<'de, 'a> Deserialize<'de> for GetExceptionDetailsParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetExceptionDetailsParams<'a>
impl<'a> RefUnwindSafe for GetExceptionDetailsParams<'a>
impl<'a> Send for GetExceptionDetailsParams<'a>
impl<'a> Sync for GetExceptionDetailsParams<'a>
impl<'a> Unpin for GetExceptionDetailsParams<'a>
impl<'a> UnsafeUnpin for GetExceptionDetailsParams<'a>
impl<'a> UnwindSafe for GetExceptionDetailsParams<'a>
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