Struct etrace::WrappedError
[−]
[src]
pub struct WrappedError { pub kind_repr: String, pub description: String, pub file: &'static str, pub line: u32, pub sub_error: Option<Rc<WrappedError>>, }
A generic-error that contains the serialized error-kind, description, the position (file, line) and an optional sub-error
Fields
kind_repr: String
description: String
file: &'static str
line: u32
sub_error: Option<Rc<WrappedError>>
Trait Implementations
impl Debug for WrappedError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Debug + Send> From<Error<T>> for WrappedError
[src]
impl ToString for WrappedError
[src]
fn to_string(&self) -> String
[src]
Converts the error into a human-readable description ("pretty-print")