define_error!() { /* proc-macro */ }Expand description
Define an opaque public error wrapper together with its private error-kind enum.
The input is a wrapper struct followed by its kind enum.
The macro supplies the shared Error and wrapper-display scaffolding.
Callers retain control of Debug, constructors, and classifications on the opaque wrapper.