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 byerrand its sources that provides a value for HintableErrorImpl::hint. - downcast_
to_ πhintable_ impl - If possible, downcast this
StdErrorto one of the implementations ofHintableErrorImpl.