Skip to main content

detect_misconfiguration_in_anyhow

Function detect_misconfiguration_in_anyhow 

Source
pub fn detect_misconfiguration_in_anyhow(
    error: &Error,
) -> Option<ConfigGuidance>
Expand description

Detect configuration failures from an error that may still retain its typed provider cause. Provider metadata often contains the actionable model or credential code even when the Display message is only a generic HTTP failure.