fn check_status( endpoint: &str, status: StatusCode, body: &str, ) -> Result<(), OnePasswordError>
Turns an error status into the error its body describes.