pub async fn handle_fail( service: &str, status: u16, data: &Bytes, ) -> Result<(), Error>
Common error handling for HTTP responses