pub fn classify_error(error: &Error) -> ErrorType
Classify an error to determine if retry is worthwhile