Skip to main content

detect_misconfiguration

Function detect_misconfiguration 

Source
pub fn detect_misconfiguration(
    category: ErrorCategory,
    message: &str,
) -> Option<ConfigGuidance>
Expand description

Return guidance when message indicates user misconfiguration.

category is used to short-circuit obvious cases (e.g. Authentication is always misconfiguration) and to avoid false positives on transient categories without config markers.