Crate thiserror_ext_derive

Source
Expand description

Procedural macros for thiserror_ext.

Derive Macrosยง

Arc
Generates a new type that wraps the original error type in an Arc.
Box
Generates a new type that wraps the original error type in a Box.
Construct
Generates constructor functions for different variants of the error type.
ContextInto
Generates extension traits for converting the external error type into the the provided one, with extra context.
Macro
Generates macros for different variants of the error type to construct it or directly bail out.
ReportDebug
Generates the Debug implementation that delegates to the Report of an error.