mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Work on new tree system
This commit is contained in:
+5
-2
@@ -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),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user