summaryrefslogtreecommitdiffstats
path: root/src/error.rs
blob: ae5b227842dfd36c43dc5b4cd69bc8aabdc772cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub type Result<T> = std::result::Result<T, Error>;

#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error(transparent)]
    Config(#[from] figment::error::Error),

    #[error(transparent)]
    Ignore(#[from] ignore::Error),

    #[error(transparent)]
    Other(#[from] anyhow::Error),
}