ohno_macros 0.5.2

Macros for the ohno crate.
Documentation

Ohno Macros

crate.io docs.rs MSRV CI Coverage License

Macros for the ohno crate.

Macros

  • #[derive(Error)] - Automatically implement error traits
  • #[enrich_err("message")] - Add error enrichment with file/line information to function errors
  • #[ohno::error] - Turn a plain struct into an error type