🐛 fix(error): add error type for no query string calculated
- add `NoQueryStringCalculated` error to handle cases where a query string could not be calculated for a given rule
This commit is contained in:
committed by
Jeremiah Russell
parent
244158f538
commit
7ab715c848
@@ -18,6 +18,9 @@ pub enum Error {
|
||||
/// No rule for label
|
||||
#[error("No rule for label {0}")]
|
||||
NoRuleFoundForLabel(String),
|
||||
/// No rule for label
|
||||
#[error("No query string calculated for rule #{0}")]
|
||||
NoQueryStringCalculated(usize),
|
||||
/// No label found in the mailbox
|
||||
#[error("Label {0} not found in the mailbox")]
|
||||
LableNotFoundInMailbox(String),
|
||||
|
||||
Reference in New Issue
Block a user