erreport

A Result helper for Rust

How to use

``rust erreport::gen_report_code!(); // This will create a mod calledreport` in current scope. use report::{Report, ToReport};

fn test() -> Result<(), Report> { anyresultimplstderrorError.toreport()?; Ok(()) } ```

Visibility

rust pub(crate) mod report { pub Report; pub(crate) ToReport; }