# errify
[](https://crates.io/crates/errify)
[](https://docs.rs/errify)
[](https://github.com/LazyMechanic/errify/actions)
This library provides the macros that provide error context for the entire function.
```toml
[dependencies]
errify = "0.3"
```
## Usage example
```rust
use errify::errify;
#[errify("Custom error context, with argument capturing {arg} = {}", arg)]
fn func(arg: i32) -> Result<(), anyhow::Error> {
// ...
}
```
For more information, see the [documentation](https://docs.rs/errify)
#### License
Licensed under either of Apache License, Version
2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.