toml
[dependencies]
eyre = "0.1"
```rust fn eyre::{err, ErrReport};
fn findgitroot() -> Result
anyhow
, and infact it
started as a fork from anyhow and draws a great deal of inspiration from it.
The main differences between this crate and anyhow are that the following.
context
method adds an error to your error chain, in this crate using the
Result combinators pushes a context object into a vec in the Context.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.