pub fn is_client_error(code: u16) -> bool
Check if a status code represents a client error
code
assert!(is_client_error(404)); assert!(!is_client_error(200));