Something went wrong. Try again.
The smokesignal.events web application forked from smokesignal.events/smokesignal
Something went wrong. Try again.
12345678910111213141516171819202122232425use thiserror::Error;
/// Represents errors that can occur during event deletion.////// These errors are typically triggered during validation or authorization/// checks when a user attempts to delete an event.#[derive(Debug, Error)]pub(crate) enum DeleteEventError { /// Error when the identity does not have an event with the specified AT-URI. /// /// This error occurs when a user attempts to delete an event that doesn't /// exist in their collection or when the AT-URI is invalid. #[error( "error-smokesignal-delete-event-1 identity does not have event with that AT-URI: {aturi}" )] EventNotFound { aturi: String },
/// Error when there is an authentication configuration mismatch. /// /// This error occurs when the authentication type doesn't match the /// configured OAuth backend, indicating a system configuration issue. #[error("error-smokesignal-delete-event-2 Authentication configuration mismatch")] AuthenticationConfigurationMismatch,}