Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ValidationMode.type
Members list
Type members
Classlikes
All guardrails must pass (default).
All guardrails must pass (default).
Runs all guardrails even if some fail, aggregating all errors. This is the strictest mode - useful for safety-critical validation where all checks must succeed.
Example: Input must pass profanity filter AND length check AND custom validator
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
All.type
At least one guardrail must pass.
At least one guardrail must pass.
Returns success on first passing guardrail. Useful for OR-style validation where multiple alternatives are acceptable.
Example: Content must be in English OR Spanish OR French
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
Any.type
Returns on first result (success or failure).
Returns on first result (success or failure).
Useful for expensive guardrails where order matters and you want to avoid running all checks.
Example: Check cheap validation first, then expensive API call only if needed
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
First.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror