pub fn classify_error_from_response(
http_status: u16,
response_body: Option<&Value>,
) -> StandardErrorCodeExpand description
Classify an error from HTTP status and optional response body.
Provider-specific error codes in the response body (e.g., OpenAI context_length_exceeded,
Anthropic overloaded_error) override the HTTP status mapping when available.