Skip to main content

appletheia_application/outbox/
outbox_attempt_count_error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum OutboxAttemptCountError {
5    #[error("outbox attempt count must be non-negative, got {0}")]
6    NegativeValue(i64),
7
8    #[error("outbox attempt count overflow")]
9    Overflow,
10}