Module arti_client::err::hint

source Β·
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§

  • An error that can provide additional information about how to solve itself.
  • 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 by err and its sources that provides a value for HintableErrorImpl::hint.
  • If possible, downcast this StdError to one of the implementations of HintableErrorImpl.