1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum HttpError { 5 #[error("Request failed, status: {0} res: {1}")] 6 Status(u16, String), 7}