rrules/recurrences/
errors.rs

1use std::fmt::{Display, Formatter};
2
3#[derive(Debug)]
4pub struct RecurrenceInvalid {
5    pub message: String,
6}
7
8impl Display for RecurrenceInvalid {
9    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
10        write!(f, "{}", self.message)
11    }
12}