rsiot_component_core/error.rs
1#[derive(Debug, thiserror::Error)]
2pub enum ComponentError {
3 #[error("Component initialization error: {0}")]
4 Initialization(String),
5
6 #[error("Component execution error: {0}")]
7 Execution(String),
8
9 #[error("Component output error: {0}")]
10 CmpInput(String),
11
12 #[error("Component output error: {0}")]
13 CmpOutput(String),
14}