pub fn ensure_success(response: &Response) -> Result<(), ResponseError>Expand description
Ensure the given response is successful. If it isn’t, a corresponding ResponseError is returned.
pub fn ensure_success(response: &Response) -> Result<(), ResponseError>Ensure the given response is successful. If it isn’t, a corresponding ResponseError is returned.