appletheia_application/outbox/
outbox_writer_error.rs1use std::error::Error;
2
3use thiserror::Error;
4
5#[derive(Debug, Error)]
6pub enum OutboxWriterError {
7 #[error("outbox persistence error: {0}")]
8 Persistence(#[source] Box<dyn Error + Send + Sync + 'static>),
9
10 #[error("transaction is not active")]
11 NotInTransaction,
12}