Skip to content

Commit 40af0d6

Browse files
committed
Add reason for invalid condition rule
Signed-off-by: Ben Perry <[email protected]>
1 parent bc5a1b4 commit 40af0d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

work/v1/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@ const (
610610
const (
611611
// ConditionRuleTrue is set when a rule is evaluated without error
612612
ConditionRuleEvaluated string = "ConditionRuleEvaluated"
613+
// ConditionRuleInvalid is set when a rule is invalid and cannot be evaluated
614+
ConditionRuleInvalid string = "ConditionRuleInvalid"
613615
// ConditionRuleExpressionError is set when a rule fails due to an invalid expression
614616
ConditionRuleExpressionError string = "ConditionRuleExpressionError"
615617
// ConditionRuleInternalError is set when rule evaluation results in an error not caused by the expression

0 commit comments

Comments
 (0)