macro_rules! impl_clean_debug {
($error:ty, [ $( $cause:ty ),* $(,)? ]) => { ... };
}Expand description
Generate the clean Debug, a clean_string helper and a crate-local cause resolver
for an error type.
The list is every error type that can appear in the cause chain (this type plus every
BackendError it can wrap); order is irrelevant.
ⓘ
headless_lms_base::impl_clean_debug!(ChatbotError, [ChatbotError, ModelError, UtilError]);