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
Thin Error wrapper that concatenates all arguments into the Error message.
Name | Type | Description |
---|---|---|
message |
string | Array.<string> | The error message, concatenated if an array is passed. |