Something went wrong. Try again.
The smokesignal.events web application
Something went wrong. Try again.
1.1 kB · 24 lines
Rust
at main
12345678910111213141516171819202122232425use thiserror::Error;
/// Represents errors that can occur during RSVP creation.////// These errors are typically triggered during the process of creating/// and storing RSVP records in the AT Protocol ecosystem.#[derive(Debug, Error)]pub(crate) enum CreateRsvpError { /// Error when the AT Protocol server returns an error response. /// /// This error occurs when the PDS or other AT Protocol service /// returns an error response during RSVP record creation. #[error("error-smokesignal-create-rsvp-1 Server error: {message}")] ServerError { message: String },
/// Error when the event requires confirmed email addresses but the user has not confirmed their email. /// /// This error occurs when a user attempts to RSVP to an event that requires /// confirmed email addresses, but the user has not confirmed their email address. #[error( "error-smokesignal-create-rsvp-2 Email confirmation required: This event requires a confirmed email address to RSVP. Please confirm your email address in your settings." )] EmailConfirmationRequired,}