use hyper::http;
use std::error::Error;
#[derive(thiserror::Error, Debug)]
pub enum ProxyError {
#[error("`{0}`")]
UriBuilder(http::Error),
#[error("`{0}`")]
SendRequest(Box<(dyn Error + Send + Sync + 'static)>),
}
pub type ProxyResult<T> = Result<T, ProxyError>;