Skip to main content

appletheia_application/event/
aggregate_id_value_error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum AggregateIdValueError {
5    #[error("aggregate id must be a valid uuid: {value}")]
6    InvalidUuid {
7        value: String,
8        #[source]
9        source: uuid::Error,
10    },
11}