pub enum ModuleRuntimeError {
CircularDependency {
cycle: Vec<String>,
message: String,
},
MissingDependency {
module: String,
missing_dependency: String,
message: String,
},
InitializationFailed {
module: String,
error: String,
phase: String,
},
LifecycleOperationFailed {
module: String,
operation: String,
error: String,
},
ConfigurationConflict {
module1: String,
module2: String,
conflict: String,
},
ValidationFailed {
module: String,
validation_errors: Vec<String>,
},
}
Expand description
Errors that can occur during module runtime operations
Variants§
CircularDependency
Circular dependency detected between modules
MissingDependency
Missing module dependency
InitializationFailed
Module initialization failed
LifecycleOperationFailed
Module lifecycle operation failed
ConfigurationConflict
Configuration conflict between modules
ValidationFailed
Runtime validation failed
Trait Implementations§
Source§impl Clone for ModuleRuntimeError
impl Clone for ModuleRuntimeError
Source§fn clone(&self) -> ModuleRuntimeError
fn clone(&self) -> ModuleRuntimeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModuleRuntimeError
impl Debug for ModuleRuntimeError
Source§impl Display for ModuleRuntimeError
impl Display for ModuleRuntimeError
Source§impl Error for ModuleRuntimeError
impl Error for ModuleRuntimeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ModuleRuntimeError> for CoreError
Convert ModuleRuntimeError to CoreError for compatibility
impl From<ModuleRuntimeError> for CoreError
Convert ModuleRuntimeError to CoreError for compatibility
Source§fn from(err: ModuleRuntimeError) -> Self
fn from(err: ModuleRuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModuleRuntimeError
impl RefUnwindSafe for ModuleRuntimeError
impl Send for ModuleRuntimeError
impl Sync for ModuleRuntimeError
impl Unpin for ModuleRuntimeError
impl UnwindSafe for ModuleRuntimeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more