pub fn err_to_status_code(err: &ServerError) -> u16
Expand description

Converts a server error into an HTTP status code.