The smokesignal.events web application
at main 15 lines 591 B view raw
1use thiserror::Error; 2 3/// Represents errors that can occur during search indexing operations. 4/// 5/// These errors typically occur when interacting with OpenSearch 6/// during the indexing process. 7#[derive(Debug, Error)] 8pub(crate) enum SearchIndexerError { 9 /// Error when OpenSearch index creation fails. 10 /// 11 /// This error occurs when attempting to create an OpenSearch index 12 /// and the operation fails with a server error response. 13 #[error("error-smokesignal-search-indexer-1 Failed to create index: {error_body}")] 14 IndexCreationFailed { error_body: String }, 15}