stable-eyre
A custom context for [eyre] that captures a Backtrace on stable.
Explanation
This crate works by defining a Context type which implements [eyre::EyreContext]
and a pair of type aliases for setting this context type as the parameter of
[eyre::Report].
pub type Report = Report;
pub type Result<T, E = Report> = Result;
Setup
Add the following to your toml file:
[]
= "0.3.8"
= "0.1.0"
And then import the type alias from color-eyre for [eyre::Report] or [eyre::Result].
use Report;
// or
Example
use WrapErr;
use Report;