Creates a new instance.
the validation failures
Adds validation failures into this collection.
the failures to add
this
Returns the error for the validation failures, if any.
the error or null
if no validation has failed
Returns the list of failed validations.
an unmodifiable list of failed validations
Returns the validation failure messages.
an empty list if the validation was successful
Checks if any validation has failed.
false
if at least one validation has failed
Throws an error if a validation failed; otherwise, returns true
.
true if the validation passed
A collection of validation failures.