pub type Result = std::result::Result; #[derive(thiserror::Error, Debug)] pub enum Error { #[error(transparent)] Ignore(#[from] ignore::Error), #[error(transparent)] IO(#[from] std::io::Error), #[cfg(feature = "git")] #[error(transparent)] Git(#[from] git2::Error), #[error(transparent)] SystemTime(#[from] std::time::SystemTimeError), #[error(transparent)] Other(#[from] anyhow::Error), }