pub enum RulesError {
RuleNotFound(String),
InvalidRule(String),
ConditionEvaluation(String),
ActionExecution(String),
Context(String),
Storage(String),
Scripting(String),
Validation(String),
Parsing(String),
}Expand description
Rules engine error types
Variants§
RuleNotFound(String)
InvalidRule(String)
ConditionEvaluation(String)
ActionExecution(String)
Context(String)
Storage(String)
Scripting(String)
Validation(String)
Parsing(String)
Trait Implementations§
Source§impl Debug for RulesError
impl Debug for RulesError
Source§impl Display for RulesError
impl Display for RulesError
Source§impl Error for RulesError
impl Error for RulesError
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()
Auto Trait Implementations§
impl Freeze for RulesError
impl RefUnwindSafe for RulesError
impl Send for RulesError
impl Sync for RulesError
impl Unpin for RulesError
impl UnwindSafe for RulesError
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