pub struct ErrorObj {
pub tag: Arc<str>,
pub message: Arc<str>,
pub data: Vec<(Value, Value)>,
}Expand description
Structured error payload — tag + message + attached data. The data
is a list of (key, value) pairs preserving insertion order — a
plist-style alist. Keys are typically Value::Keywords but any
equality-comparable Value works.
Fields§
§tag: Arc<str>§message: Arc<str>§data: Vec<(Value, Value)>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ErrorObj
impl !UnwindSafe for ErrorObj
impl Freeze for ErrorObj
impl Send for ErrorObj
impl Sync for ErrorObj
impl Unpin for ErrorObj
impl UnsafeUnpin for ErrorObj
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