pub struct ExceptionDetailsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> ExceptionDetailsBuilder<'a>
impl<'a> ExceptionDetailsBuilder<'a>
Sourcepub fn script_id(self, script_id: impl Into<ScriptId<'a>>) -> Self
pub fn script_id(self, script_id: impl Into<ScriptId<'a>>) -> Self
Script ID of the exception location.
Sourcepub fn url(self, url: impl Into<Cow<'a, str>>) -> Self
pub fn url(self, url: impl Into<Cow<'a, str>>) -> Self
URL of the exception location, to be used when the script was not reported.
Sourcepub fn stack_trace(self, stack_trace: StackTrace<'a>) -> Self
pub fn stack_trace(self, stack_trace: StackTrace<'a>) -> Self
JavaScript stack trace if available.
Sourcepub fn exception(self, exception: RemoteObject<'a>) -> Self
pub fn exception(self, exception: RemoteObject<'a>) -> Self
Exception object if available.
Sourcepub fn execution_context_id(
self,
execution_context_id: ExecutionContextId,
) -> Self
pub fn execution_context_id( self, execution_context_id: ExecutionContextId, ) -> Self
Identifier of the context where exception happened.
Sourcepub fn exception_meta_data(
self,
exception_meta_data: Map<String, JsonValue>,
) -> Self
pub fn exception_meta_data( self, exception_meta_data: Map<String, JsonValue>, ) -> Self
Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.
pub fn build(self) -> ExceptionDetails<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExceptionDetailsBuilder<'a>
impl<'a> RefUnwindSafe for ExceptionDetailsBuilder<'a>
impl<'a> Send for ExceptionDetailsBuilder<'a>
impl<'a> Sync for ExceptionDetailsBuilder<'a>
impl<'a> Unpin for ExceptionDetailsBuilder<'a>
impl<'a> UnsafeUnpin for ExceptionDetailsBuilder<'a>
impl<'a> UnwindSafe for ExceptionDetailsBuilder<'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