Anny on

Class: ValidationError

ValidationError

Thin Error wrapper that concatenates all arguments into the Error message.

Constructor

new ValidationError(message) → {Error}

Parameters:
Name Type Description
message string | Array.<string>

The error message, concatenated if an array is passed.

Source:
Returns:
Type
Error