ValidationException
Less than 1 minute
ValidationException
Exception thrown when validation fails in lazy validation mode.
class ValidationException extends \InvalidArgumentExceptionExtends: InvalidArgumentException
This exception combines multiple validation error messages into a single exception message by joining them with newlines.
Methods
__construct
Creates a new ValidationException instance.
public __construct(array $errors): voidParameters
| Parameter | Type | Description |
|---|---|---|
$errors | array | An array of validation error messages that occurred during lazy validation |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000