termination_strategy library
Classes
- AlwaysStop
- Always stops after the first validator.
- NeverStop
- Never stops - validation continues regardless of result.
- StopAfterCustom
- Custom termination logic using a predicate function.
- StopAfterFailure
- Stops immediately when a Failure is encountered.
- StopAfterSeverity
- Stops after specific severity levels.
- StopIfContainsFailure
- Stops if the payload contains a Failure anywhere in its structure.
- TerminationStrategy
- Controls when validation should stop in a queue.