Thrown if multiple validations have failed.
Creates a new error.
the list of validation failures
TypeError if failures is undefined or null
failures
undefined
null
RangeError if failures contains less than two elements
Returns the list of validation failures.
Thrown if multiple validations have failed.