ohno_macros_impl 0.5.0

Implementation of the macros for the ohno crate.
Documentation

Ohno Macros Impl

crate.io docs.rs MSRV CI Coverage License

Implementation of the procedural macros for the ohno crate.

This crate holds the logic behind:

  • #[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

Do not depend on this crate directly. Use the re-exports from ohno instead.