blob: 5c0f26bbe0ec91afb981bfdf7fb59bf419eae23b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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)]
Git(#[from] git2::Error),
#[error(transparent)]
Other(#[from] anyhow::Error),
}
|