Skip to main content

git2_time_chrono_ext/
error.rs

1#[derive(thiserror::Error, Debug)]
2pub enum Error {
3    #[error("Invalid TimeZone {offset_minutes}")]
4    InvalidTimeZone { offset_minutes: i32 },
5    #[error("Time {time:?} isn't mappable")]
6    TimeNotMappable { time: git2::Time },
7}