new ValidationError()
Custom error class for handling validation errors.
- Source:
Extends
- BaseError
Custom error class for handling validation errors.
Constructs the ValidationError instance with a prefixed message.
| Name | Type | Description |
|---|---|---|
message |
string | The error message related to validation issues. |