A Result
helper for Rust
``rust
erreport::gen_report_code!(); // This will create a mod called
report` in current scope.
use report::{Report, ToReport};
fn test() -> Result<(), Report> { anyresultimplstderrorError.toreport()?; Ok(()) } ```
rust
pub(crate) mod report {
pub Report;
pub(crate) ToReport;
}