#[non_exhaustive]pub enum EvalError {
Show 14 variants
InvalidRegex(Error),
InvalidCidr(AddrParseError),
Base64(String),
UnknownDetection(String),
InvalidModifiers(String),
IncompatibleValue(String),
ExpectedNumeric(String),
Pipeline(String),
Parser(SigmaParserError),
CorrelationError(String),
UnknownRuleRef(String),
CorrelationCycle(String),
Ir(String),
HirCache(String),
}Expand description
Errors that can occur during rule compilation or evaluation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidRegex(Error)
A regex pattern failed to compile.
InvalidCidr(AddrParseError)
A CIDR pattern failed to parse.
Base64(String)
A base64 operation failed.
UnknownDetection(String)
A detection referenced in a condition was not found.
InvalidModifiers(String)
A modifier combination is invalid.
IncompatibleValue(String)
A value type is incompatible with the modifier.
ExpectedNumeric(String)
A numeric value was expected but not found.
Pipeline(String)
A processing pipeline could not be parsed, or failed while it was
applied to a rule (including a deliberate rule_failure or
detection_item_failure transformation).
Parser(SigmaParserError)
A parser error propagated during compilation.
CorrelationError(String)
A correlation rule compilation or evaluation error.
UnknownRuleRef(String)
A rule referenced by a correlation was not found.
CorrelationCycle(String)
A cycle was detected in correlation rule references.
Ir(String)
An error from the IR lowering pipeline that has no more specific mapping.
HirCache(String)
A HIR cache (de)serialization error.
Trait Implementations§
Source§impl Error for EvalError
impl Error for EvalError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()