Decision
public enum Decision
Represents a decision of a validator of a validating property made on a proposed value.
-
The proposed value is valid.
Declaration
Swift
case valid
-
The proposed value is invalid, but the validator coerces it into a replacement which it deems valid.
Declaration
Swift
case coerced(Value, ValidationError?)
-
The proposed value is invalid.
Declaration
Swift
case invalid(ValidationError)