1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use thiserror::Error;

#[derive(Debug, Error)]
pub enum TrelloError {
    #[error("Reqwest error: {0}")]
    Reqwest(#[from] reqwest::Error),
    #[error("url Parse error: {0}")]
    UrlParse(#[from] url::ParseError),
    #[error("IO Error: {0}")]
    Io(#[from] std::io::Error),
    #[error("Card Parse Error: {0}")]
    CardParse(String),
}