Skip to content

Commit

Permalink
Close #3
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaza committed Jan 28, 2024
1 parent 3a4761e commit eee766c
Show file tree
Hide file tree
Showing 3 changed files with 773 additions and 342 deletions.
6 changes: 6 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ pub enum Error {
JsonFormatError(&'static str, u32),
#[error("invalid rule: {0} - {1}")]
InvalidRule(u32, String),
#[error("invalid scope: {0} - {1}")]
InvalidScope(u32, String),
#[error("invalid static scope: {0}")]
InvalidStaticScope(u32),
#[error("invalid dynamic scope: {0}")]
InvalidDynamicScope(u32),
#[error("{0}")]
InvalidRuleFile(String),
#[error("operand error")]
Expand Down
Loading

0 comments on commit eee766c

Please sign in to comment.