summaryrefslogtreecommitdiffstats
path: root/src/project/error.rs
blob: ddfcb2a576a92f4f6f91200ccef738709e928b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error(transparent)]
    IO(#[from] std::io::Error),

    #[error(transparent)]
    Git(#[from] git2::Error),

    #[error(transparent)]
    SystemTime(#[from] std::time::SystemTimeError),

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