trello/trello_error.rs
1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum TrelloError {
5 #[error("Reqwest error: {0}")]
6 Reqwest(#[from] reqwest::Error),
7 #[error("url Parse error: {0}")]
8 UrlParse(#[from] url::ParseError),
9 #[error("IO Error: {0}")]
10 Io(#[from] std::io::Error),
11 #[error("Card Parse Error: {0}")]
12 CardParse(String),
13}