use 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 }, }