#[derive(thiserror::Error, Debug)]
pub enum RatError {
#[error("{0} is not a valid rest method")]
InvalidRestMethod(String),
#[error("selector was not found: {0}")]
InvalidSelector(String),
#[error("{0}")]
InvalidUrl(String),
#[error("{0}")]
IO(#[from] std::io::Error),
#[error("{0}")]
Reqwest(#[from] reqwest::Error),
#[error("{0}")]
SerdeJson(#[from] serde_json::Error),
#[error("{0}")]
ParsingError(String),
}