#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error("The requested data {0} was not found.")]
NotFound(String),
#[error("{0}")]
Reqwest(#[from] reqwest::Error),
#[error("Response error with status code {code}: {text}, URL: {url}")]
ResponseError {
code: u16,
text: String,
url: String,
},
#[error("Call to {0} is not supported on this node")]
NotSupported(String),
}