simple-eyre 0.1.0

One of the simplest error types one can build ontop of eyre, including only an inner error boxed as a trait object and a context with only a Backtrace
Documentation

Simple-Eyre

Latest Version Rust Documentation

[dependencies]
simple-eyre = "0.1"

Example

fn eyre::ErrReport;

fn find_git_root() -> Result<PathBuf, ErrReport> {
    find_dir_in_ancestors(".git")?;
}

Details

  • This library is meant to be used as a minimal example of how to use eyre-impl. It implements the absolute minimum necessary to function as a dynamic error wrapper that associates some context with it. In this case the context is only a Backtrace.

License