diff options
Diffstat (limited to 'crates/core/tedge_mapper/src/c8y/error.rs')
-rw-r--r-- | crates/core/tedge_mapper/src/c8y/error.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/core/tedge_mapper/src/c8y/error.rs b/crates/core/tedge_mapper/src/c8y/error.rs index add72d82..6a4f0a71 100644 --- a/crates/core/tedge_mapper/src/c8y/error.rs +++ b/crates/core/tedge_mapper/src/c8y/error.rs @@ -1,6 +1,7 @@ use c8y_smartrest::error::{ SMCumulocityMapperError, SmartRestDeserializerError, SmartRestSerializerError, }; +use plugin_sm::operation_logs::OperationLogsError; #[derive(thiserror::Error, Debug)] #[allow(clippy::enum_variant_names)] @@ -50,4 +51,10 @@ pub enum CumulocityMapperError { #[error("An unknown operation template: {0}")] UnknownOperation(String), + + #[error(transparent)] + FromOperationLogs(#[from] OperationLogsError), + + #[error(transparent)] + TedgeConfig(#[from] tedge_config::TEdgeConfigError), } |