eyre 0.4.0

Flexible concrete Error Reporting type built on std::error::Error with customizable Context and Reports
Documentation
1
2
3
4
5
6
7
#[test]
fn test_context() {
    use eyre::{eyre, Report};

    let error: Report = eyre!("oh no!");
    let _ = error.context();
}