Type Definition flex_error::tracer_impl::eyre::EyreTracer [−][src]
type EyreTracer = Report;
Expand description
Type alias to eyre::Report
.
Trait Implementations
impl ErrorMessageTracer for EyreTracer
[src]
impl ErrorMessageTracer for EyreTracer
[src]fn new_message<E: Display>(err: &E) -> Self
[src]
fn new_message<E: Display>(err: &E) -> Self
[src]fn add_message<E: Display>(self, err: &E) -> Self
[src]
fn add_message<E: Display>(self, err: &E) -> Self
[src]Adds new error detail to an existing trace.
impl<E> ErrorTracer<E> for EyreTracer where
E: Error + Send + Sync + 'static,
[src]
impl<E> ErrorTracer<E> for EyreTracer where
E: Error + Send + Sync + 'static,
[src]fn new_trace(err: E) -> Self
[src]
fn new_trace(err: E) -> Self
[src]Create a new error trace from E
, also taking ownership of it. Read more
fn add_trace(self, err: E) -> Self
[src]
fn add_trace(self, err: E) -> Self
[src]Add a new error trace from E
. In the current underlying implementation,
this is effectively still has the same behavior as
ErrorMessageTracer::add_message
. This is because eyre
and
anyhow
do not support adding new set of backtraces to an existing
trace. So effectively, currently the error tracers can track at most
one backtrace coming from the original error source. Read more