Expand description
Facility for error-hinting
Modules§
- seal 🔒
- non-public module, to implement a “sealed” trait.
Macros§
- hintable_
impl 🔒 - Declare one or more error types as having hints.
Traits§
- Hintable
Error - An error that can provide additional information about how to solve itself.
- Hintable
Error 🔒Impl - Trait for an error that can provide a hint directly.
Functions§
- best_
hint 🔒 - Return the best hint possible from
err
, by looking for the first error in the chain defined byerr
and its sources that provides a value for HintableErrorImpl::hint. - downcast_
to_ 🔒hintable_ impl - If possible, downcast this
StdError
to one of the implementations ofHintableErrorImpl
.