errify 0.2.2

Function error context provider via anyhow/erye
Documentation

errify

This library provides the macros that provide error context for the entire function via anyhow and eyre crates.

[dependencies]
errify = "0.2"

Usage example

use errify::errify;

#[errify("Custom error context, with argument capturing {arg} = {}", arg)]
fn func(arg: i32) -> Result<(), CustomError> {
    // ...
}

For more information, see the documentation

License