rsiot/components/cmp_redis_client/
error.rs1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3 #[error("Error in async task: {0}")]
4 Join(#[from] tokio::task::JoinError),
5
6 #[error("End redis subscription")]
7 EndRedisSubscription,
8
9 #[error("Error in message serialization / deserialization: {0}")]
11 Message(#[from] crate::message::Error),
12
13 #[error("Redis connection error: {0}")]
15 RedisConnection(#[from] redis::RedisError),
16
17 #[error(transparent)]
18 CmpOutput(crate::executor::ComponentError),
19
20 #[error(transparent)]
21 FnInput(anyhow::Error),
22
23 #[error("FnOutput: {0}")]
24 FnOutput(anyhow::Error),
25}