works.iterative.workflow.GuardFailure
See theGuardFailure companion object
enum GuardFailure
The result of a failed guard evaluation.
Sum-aware: carries structural information about which guards failed and why. Unauthorized is intentionally a distinct case from Leaf so that callers (e.g. MEDECA-377, MEDECA-378) can distinguish "missing data" from "missing permission" without further refactoring.
Leaf— a data guard (Requirement) failed; carries the predicate label and message keyUnauthorized— an auth guard (RequireRoleorRequireIdentity) failedConjunction— anAndguard: all failing branches accumulated (flat, no nesting)Disjunction— anOrguard: all branches failed (node-level, two elements)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article