summaryrefslogtreecommitdiff
path: root/rola-utils/space-system/src/space
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-18 20:56:05 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-18 20:56:05 +0800
commit68daa10abfe3015beca966825d32cf67c9f5d5d7 (patch)
treec28f0470240e7cdc3748cee57ef74353514c47b7 /rola-utils/space-system/src/space
parent669898193bebeadc975881bee496fe0239df76a0 (diff)
feat(bucket): implement bucket initialization and logging infrastructure
Add bucket init logic with directory structure creation and log macros for tracing
Diffstat (limited to 'rola-utils/space-system/src/space')
-rw-r--r--rola-utils/space-system/src/space/error.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/rola-utils/space-system/src/space/error.rs b/rola-utils/space-system/src/space/error.rs
index 33ee6e4..8e85010 100644
--- a/rola-utils/space-system/src/space/error.rs
+++ b/rola-utils/space-system/src/space/error.rs
@@ -11,6 +11,12 @@ pub enum SpaceError {
#[error("Other: {0}")]
Other(String),
+
+ #[error("Require empty directory")]
+ RequireEmptyDirectory,
+
+ #[error("Config file already exist")]
+ ConfigFileAlreadyExist,
}
impl PartialEq for SpaceError {