pub struct ErrorRequest<'a> {
pub error_message: &'a str,
pub error_type: &'a str,
pub stack_trace: Vec<&'a str>,
}
Expand description
Payload to send error information to the Extensions API.
Fields§
§error_message: &'a str
Human readable error description
error_type: &'a str
The type of error to categorize
stack_trace: Vec<&'a str>
The error backtrace
Trait Implementations§
Source§impl<'a> Debug for ErrorRequest<'a>
impl<'a> Debug for ErrorRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for ErrorRequest<'a>
impl<'a> RefUnwindSafe for ErrorRequest<'a>
impl<'a> Send for ErrorRequest<'a>
impl<'a> Sync for ErrorRequest<'a>
impl<'a> Unpin for ErrorRequest<'a>
impl<'a> UnwindSafe for ErrorRequest<'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