-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4888b1
commit 8055586
Showing
3 changed files
with
66 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,32 @@ | ||
class InvalidRuleValueError(ValueError): | ||
""" | ||
Exception raised when a rule's value is invalid or inappropriate. | ||
""" | ||
pass | ||
|
||
|
||
class InvalidRuleConditionError(ValueError): | ||
""" | ||
Exception raised when a rule's condition is invalid or inappropriate. | ||
""" | ||
pass | ||
|
||
|
||
class InvalidRuleExpressionError(ValueError): | ||
""" | ||
Exception raised when a rule's expression (combination of conditions and results) is invalid or inappropriate. | ||
""" | ||
pass | ||
|
||
|
||
class InvalidRuleError(ValueError): | ||
""" | ||
Exception raised when a rule is invalid or inappropriate. This is a general exception for rule-related errors. | ||
""" | ||
pass | ||
|
||
|
||
class InvalidRuleValueTypeError(ValueError): | ||
pass | ||
""" | ||
Exception raised when a rule's value type is invalid or inappropriate. | ||
""" |