appletheia_application/outbox/outbox_polling_options_error.rs
1use thiserror::Error;
2
3use super::OutboxPollInterval;
4
5#[derive(Debug, Error)]
6pub enum OutboxPollingOptionsError {
7 #[error(
8 "base interval must be less than or equal to max interval (base={base:?}, max={max:?})"
9 )]
10 BaseGreaterThanMax {
11 base: OutboxPollInterval,
12 max: OutboxPollInterval,
13 },
14}