1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3 #[error(transparent)]
4 Http(#[from] reqwest::Error),
5 #[error("Unsupported scheme")]
6 UnsupportedScheme,
7 #[error("Failed to construct a valid Authorization header: {0}")]
8 InvalidAuthorization(#[from] reqwest::header::InvalidHeaderValue),
9}