diff --git a/CHANGELOG.md b/CHANGELOG.md index a4dc39a..2ef1efb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## v0.3.0 (pre-release) +- Introduce `cgp_type!` macro for defining simple abstract CGP types - [#55](https://github.com/contextgeneric/cgp/pull/55) + - Use `cgp_type!` to derive `HasErrorType` and `HasRuntimeType`. + - Implement `ErrorWrapper` on generic `ErrorRaiser` providers - [#54](https://github.com/contextgeneric/cgp/pull/54) - Implement `ErrorWrapper` for the following providers: `DebugError`, `DisplayError`, `DebugAnyhowError`, `DisplayAnyhowError`, `RaiseAnyhowError`, diff --git a/crates/cgp-error/src/traits/has_error_type.rs b/crates/cgp-error/src/traits/has_error_type.rs index a53021f..967a90f 100644 --- a/crates/cgp-error/src/traits/has_error_type.rs +++ b/crates/cgp-error/src/traits/has_error_type.rs @@ -19,6 +19,9 @@ cgp_type! { The `Error` associated type is also required to implement [`Debug`]. This is to allow `Self::Error` to be used in calls like `.unwrap()`, as well as for simpler error logging. + + More details about how to use `HasErrorType` is available at + */ Error: Debug }