Work on new tree system

This commit is contained in:
Michael Mikovsky
2026-02-08 12:02:50 -07:00
parent fc625e89d2
commit d089c2a8aa
6 changed files with 83 additions and 21 deletions
+5 -2
View File
@@ -5,6 +5,11 @@ pub type Result<T> = std::result::Result<T, ModuleError>;
///Generic error type for module-related operations.
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
pub enum ModuleError {
NoError,
TreeNotExist,
TreeMessageError(String),
LibLoadingError(String),
// LogError(log::SetLoggerError),
LinkError(String),
@@ -12,8 +17,6 @@ pub enum ModuleError {
DatabaseError(String),
SerdeJsonError(String),
TreeMessageError(String),
Error(String),
}