pub fn classify(error: &Error) -> ErrorClassExpand description
Classify an Error into an actionable ErrorClass.
Primarily useful for Error::Api errors where the HTTP status code and
message body determine recovery strategy.
pub fn classify(error: &Error) -> ErrorClassClassify an Error into an actionable ErrorClass.
Primarily useful for Error::Api errors where the HTTP status code and
message body determine recovery strategy.