Skip to main content

get_client_error

Function get_client_error 

Source
pub fn get_client_error(status: StatusCode) -> Option<StatusCode>
Expand description

If the status is StatusCode::is_client_error then return Option::Some() with the code.