aep_service/error.rs
1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum ServiceError {
5 #[error("invalid AEP Service configuration: {0}")]
6 InvalidConfiguration(String),
7 #[error("AEP Service store failed: {0}")]
8 Store(String),
9 #[error("AEP Service handler failed: {0}")]
10 Handler(String),
11 #[error(transparent)]
12 Core(#[from] aep_core::CoreError),
13 #[error(transparent)]
14 Json(#[from] serde_json::Error),
15}