pub fn summarize_error(&self, expected: Vec<StatusCodeKind>) -> String {
        format!(
            "Got {}: {}, expected {:?}",
            self.status_code.code, self.message, expected
        )
    }
/// Summarize an error message, when a response is not one of the expect
/// status codes provided.
Summarize an error message, when a response is not one of the expect
status codes provided.
Summarize an error message when a response is not one of the expect status codes provided .
pub fn summarize_error(&self, expected: Vec<StatusCodeKind>) -> String {
        format!(
            "Got {}: {}, expected {:?}",
            self.status_code.code, self.message, expected
        )
    }
pub fn summarize_error ( & self , expected : Vec < StatusCodeKind > ) -> String { format ! ( " " self status_code code self message expected ) }
Summarize an error message, when a response is not one of the expect
status codes provided.
Summarize an error message when a response is not one of the expect status codes provided .
&self
expected
Vec<StatusCodeKind>
&self
expected
Vec<StatusCodeKind>