Skip to main content

appletheia_application/projection/
projection_checkpoint_store_error.rs

1use std::error::Error;
2
3use thiserror::Error as ThisError;
4
5#[derive(Debug, ThisError)]
6pub enum ProjectionCheckpointStoreError {
7    #[error("not in transaction")]
8    NotInTransaction,
9
10    #[error("persistence error")]
11    Persistence(#[source] Box<dyn Error + Send + Sync>),
12}