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