rsiot/executor/
error.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/// Ошибки исполненителя компонентов
#[derive(Debug, thiserror::Error)]
pub enum ComponentError {
    /// Component initialization error
    #[error("Component initialization error: {0}")]
    Initialization(String),

    /// Component execution error
    #[error("Component execution error: {0}")]
    Execution(String),

    /// Component input error
    #[error("Component input error: {0}")]
    CmpInput(String),

    /// Component output error
    #[error("Component output error: {0}")]
    CmpOutput(String),
}