i18n+filtering fork - fluent-templates v2
at main 16 lines 569 B view raw
1use thiserror::Error; 2 3/// Represents errors that can occur during RSVP operations. 4/// 5/// These errors relate to the handling of event RSVPs, such as 6/// when users attempt to respond to event invitations. 7#[derive(Debug, Error)] 8pub enum RSVPError { 9 /// Error when an RSVP cannot be found. 10 /// 11 /// This error occurs when attempting to retrieve or modify an RSVP 12 /// that doesn't exist in the system, typically when providing an 13 /// invalid AT-URI. 14 #[error("error-rsvps-1 RSVP Not Found: No RSVP found with provided AT-URI.")] 15 NotFound, 16}