elmethis_notion/
error.rs

1
2
3
4
5
6
7
8
9
10
11
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("notionrs error: {0}")]
    Notion(#[from] notionrs::error::Error),

    #[error("reqwest error: {0}")]
    Reqwest(#[from] reqwest::Error),

    #[error("scraper error: {0}")]
    Scraper(#[from] scraper::error::SelectorErrorKind<'static>),
}