summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs')
-rw-r--r--crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs b/crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs
index 9678a549..e3d96cab 100644
--- a/crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs
+++ b/crates/core/tedge_mapper/src/sm_c8y_mapper/error.rs
@@ -29,6 +29,12 @@ pub enum SMCumulocityMapperError {
#[error(transparent)]
FromTedgeConfig(#[from] tedge_config::ConfigSettingError),
+ #[error(transparent)]
+ FromTimeFormat(#[from] time::error::Format),
+
+ #[error(transparent)]
+ FromTimeParse(#[from] time::error::Parse),
+
#[error("Invalid date in file name: {0}")]
InvalidDateInFileName(String),
@@ -36,9 +42,6 @@ pub enum SMCumulocityMapperError {
InvalidUtf8Path,
#[error(transparent)]
- FromChronoParse(#[from] chrono::ParseError),
-
- #[error(transparent)]
FromIo(#[from] std::io::Error),
#[error("Request timed out")]