Something went wrong. Try again.
Heavily customized version of smokesignal - https://whtwnd.com/kayrozen.com/3lpwe4ymowg2t
Something went wrong. Try again.
1.1 kB · 27 lines
Rust
at main
12345678910111213141516171819202122232425262728use thiserror::Error;
/// These errors relate to the process of importing RSVP data into the system/// by administrators, typically during data migration or recovery.#[derive(Debug, Error)]pub enum AdminImportRsvpError { /// Error when an RSVP cannot be inserted during import. /// /// This error occurs when attempting to insert an imported RSVP into /// the database fails, typically due to data validation issues or /// database constraints. #[error("error-admin-import-rsvp-1 Failed to insert RSVP: {0}")] InsertFailed(String),}
/// These errors relate to the process of importing event data into the system/// by administrators, typically during data migration or recovery.#[derive(Debug, Error)]pub enum AdminImportEventError { /// Error when an event cannot be inserted during import. /// /// This error occurs when attempting to insert an imported event into /// the database fails, typically due to data validation issues or /// database constraints. #[error("error-admin-import-event-1 Failed to insert event: {0}")] InsertFailed(String),}