Skip to main content

classify_error

Function classify_error 

Source
pub fn classify_error(error: &str) -> (Outcome, String)
Expand description

Recognize only anchored host-generated API status forms. Never search arbitrary error/transcript text for “auth”, “429”, “quota” etc. Raw strings are not copied into the return value. Prefer classify_turn_error externally.