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

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

    #[error("Ignore error: {0}")]
    Ignore(#[from] ignore::Error),
}