anyhow-auto-context 1.0.0

Automatic context for anyhow errors based on scope and location
Documentation
1
2
3
4
5
6
7
//! Using with `Option`
use anyhow_auto_context::auto_context;

fn main() -> anyhow::Result<()> {
    let expected_some = None;
    auto_context!(expected_some)
}