diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2022-12-31 22:48:40 +0400 |
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2022-12-31 22:48:40 +0400 |
| commit | 46fd26962ef55f8b557f7e36d3aee915a819c88c (patch) | |
| tree | 18038653ee532831aca0000afa7849924c2c63cc /libs/shared/src/error.rs | |
| parent | 0fcc68291a5f7526dbeffe33f4a84a649200e847 (diff) | |
add base of cache component
Diffstat (limited to 'libs/shared/src/error.rs')
| -rw-r--r-- | libs/shared/src/error.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/shared/src/error.rs b/libs/shared/src/error.rs index 0899579..31b1dcd 100644 --- a/libs/shared/src/error.rs +++ b/libs/shared/src/error.rs @@ -1,5 +1,5 @@ use config::ConfigError; -use std::fmt::Debug; +use std::{fmt::Debug, io}; use thiserror::Error; #[derive(Debug, Error)] @@ -12,4 +12,7 @@ pub enum GenericError { #[error("step `{0}` failed")] StepFailed(String), + + #[error("io error")] + Io(#[from] io::Error) } |
