Available on crate feature
report
only.Expand description
Support for the eyre
crate.
This module re-exports Report
as well as Result
, and provides a
trait, WrapFailure
, as a mirror to the WrapErr
trait. Additionally,
WrapFailure
is also implemented for Result<T, E>
. Lastly, to stay
in line with behavior from eyre
, the WrapFailure
trait is also
sealed.
Re-exports
Traits
This trait is meant to be the outcome
analogue of both
miette::WrapErr
and eyre::WrapErr
. Therefore, any type that
implements WrapErr
for either of these libraries will automatically work
with WrapFailure
.