Skip to main content

Crate error_forge_derive

Crate error_forge_derive 

Source
Expand description

Procedural macros for the error-forge crate.

  • #[derive(ModError)], behind the default derive feature (pulls in syn, quote and proc-macro2).
  • An internal identifier-pasting macro used by define_errors!, always available and built on the compiler’s proc_macro API alone. It is not part of the public API.

Use these through error-forge; see its documentation.

Derive Macros§

ModError
Derive macro for ModError