Expand description
Procedural macros for the dterror crate. #[derive(CtxError)] generates code for error types.
#[derive(FromContext)] generates code for kind types.
Use documentation is in the dterror crate.
Derive Macrosยง
- CtxError
- Derives an implementation of
dterror::CtxErrorfor an error type. - From
Context - Derives an implementation of
dterror::FromContextfor a kind type (a plain, non-error type).