Function taskcluster::err_status_code
source · pub fn err_status_code(err: &Error) -> Option<StatusCode>
Expand description
If this error was due to a reqwest error created from an HTTP response, return the status code
from that response. If the error is not a reqwest::Error
, or was not caused by an HTTP
response, returns None.