Skip to main content

best_hint

Function best_hint 

Source
fn best_hint<'a>(err: &'a (dyn StdError + 'static)) -> Option<ErrorHint<'a>>
Expand description

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.