Jane-Eyre

Latest Version Rust Documentation

toml [dependencies] eyre = "0.1"


Example

```rust fn eyre::{err, ErrReport};

fn findgitroot() -> Result { finddirinancestors(".git") .okor(err!("Failed to find git dir in parent directories")) .note("This command can only be run in git directories") } ```


Details


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.