ValidationException
classe ValidationException étends HttpException (Voir la source)
Propriétés
protected string | $status | Define the status code has message |
depuis HttpException |
Méthodes
__construct(string $message, string $status = 'VALIDATION_ERROR', array $errors = [])
ValidationException constructor
array
getErrors()
Get the errors
Détails
__construct(string $message, string $status = 'VALIDATION_ERROR', array $errors = [])
ValidationException constructor
string
getStatus()
Get the define user error code
string
getStatusCode()
Get the status code
array
getErrors()
Get the errors