Enum cal_calc::CalendarError
source · pub enum CalendarError {
CalendarNotFound,
OutOfBound(ComponentRange),
MaxDay,
MinDay,
}
Expand description
Error class for calendar calculation
Variants§
Trait Implementations§
source§impl Debug for CalendarError
impl Debug for CalendarError
source§impl Display for CalendarError
impl Display for CalendarError
source§impl Error for CalendarError
impl Error for CalendarError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ComponentRange> for CalendarError
impl From<ComponentRange> for CalendarError
source§fn from(source: ComponentRange) -> Self
fn from(source: ComponentRange) -> Self
Converts to this type from the input type.