pub struct ErrorCause {
pub caused_by: Option<Box<ErrorCause>>,
pub reason: Option<String>,
pub root_cause: Vec<ErrorCause>,
pub stack_trace: Option<String>,
pub suppressed: Vec<ErrorCause>,
pub ty: Option<String>,
pub additional_details: BTreeMap<String, Value>,
}
Expand description
Error cause
Fields§
§caused_by: Option<Box<ErrorCause>>
Deeper error cause
reason: Option<String>
Error cause reason
root_cause: Vec<ErrorCause>
Root error cause
stack_trace: Option<String>
Exception stack trace
suppressed: Vec<ErrorCause>
Suppressed error causes
ty: Option<String>
Type of error cause
additional_details: BTreeMap<String, Value>
Additional fields that are not part of the strongly typed error cause
Trait Implementations§
Source§impl Clone for ErrorCause
impl Clone for ErrorCause
Source§fn clone(&self) -> ErrorCause
fn clone(&self) -> ErrorCause
Returns a copy 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 Debug for ErrorCause
impl Debug for ErrorCause
Source§impl<'de> Deserialize<'de> for ErrorCause
impl<'de> Deserialize<'de> for ErrorCause
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 PartialEq for ErrorCause
impl PartialEq for ErrorCause
Source§impl Serialize for ErrorCause
impl Serialize for ErrorCause
impl StructuralPartialEq for ErrorCause
Auto Trait Implementations§
impl Freeze for ErrorCause
impl RefUnwindSafe for ErrorCause
impl Send for ErrorCause
impl Sync for ErrorCause
impl Unpin for ErrorCause
impl UnwindSafe for ErrorCause
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