nodeless_rs/
error.rs

1//! Nodeless Error
2#[derive(Debug, thiserror::Error)]
3pub enum NodelessError {
4    #[error("url error: {0}")]
5    UrlError(#[from] url::ParseError),
6    #[error("reqwest error: {0}")]
7    ReqwestError(#[from] reqwest::Error),
8    #[error("serde error: {0}")]
9    SerdeError(#[from] serde_json::Error),
10    #[error("Invalid Response")]
11    InvalidResponse,
12}