Skip to main content

classify_api_error

Function classify_api_error 

Source
pub fn classify_api_error(
    error_message: &str,
    status: Option<u16>,
) -> ApiErrorType
Expand description

Classifies an API error into a specific error type for analytics tracking. Returns a standardized error type string suitable for tagging.