Skip to main content

known_error_code

Function known_error_code 

Source
pub fn known_error_code(code: &str) -> Option<&'static str>
Expand description

code when it is a known OAuth error code (RFC 6749) or Anthropic API error type: the only error codes a log may show. Anything else could be an echoed token.