1 2 3 4 5 6 7 8 9 10 11
#[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), }