The smokesignal.events web application
1use thiserror::Error;
2
3/// Represents errors that can occur during event processing.
4///
5/// These errors typically occur when processing events from the Jetstream
6/// consumer, including DID resolution and data validation issues.
7#[derive(Debug, Error)]
8pub(crate) enum ProcessorError {
9 /// Error when a DID document does not contain any PDS endpoints.
10 ///
11 /// This error occurs when attempting to process an event from a DID
12 /// that has no Personal Data Server (PDS) endpoints configured.
13 #[error("error-smokesignal-processor-1 no PDS in DID")]
14 NoPdsInDid,
15}