Crate thiserror_ext_derive
source ·Expand description
Procedural macros for thiserror_ext
.
Derive Macros§
- Generates a new type that wraps the original error type in an
Arc
. - Generates a new type that wraps the original error type in a
Box
. - Generates constructor functions for different variants of the error type.
- Generates extension traits for converting the external error type into the the provided one, with extra context.
- Generates macros for different variants of the error type to construct it or directly bail out.