pub fn reason(&self) -> Option<HttpError> {
        match self {
            Error::Http(http, _) => Some((*http).clone()),
            _ => None,
        }
    }
/// Get the error reason if it's an `HttpError`
Get the error reason if it's an `HttpError`
Get the error reason if it ' s an ` HttpError `
pub fn reason(&self) -> Option<HttpError> {
        match self {
            Error::Http(http, _) => Some((*http).clone()),
            _ => None,
        }
    }
pub fn reason ( & self ) -> Option < HttpError > { match self { Error :: Http ( http , _ ) => Some ( ( * http ) . clone ( ) ) , _ => None , } }
Get the error reason if it's an `HttpError`
Get the error reason if it ' s an ` HttpError `
&self