ValidatorException
class ValidatorException extends Exception
Properties
protected string | $message | The error message displayed to the user. | |
protected integer | $status | The HTTP status code to respond with on this exception. | |
protected MessageBag | $fields | Holds the validation errors. |
Methods
[type]
errorResponse()
Gather the message status and error and return them as a formatted JSON response.
Integer
getStatus()
Get the HTTP status associated with this Exception (if applicable).
from Exception
__construct(
MessageBag $fields)
No description
Details
at line line 42
[type]
errorResponse()
Gather the message status and error and return them as a formatted JSON response.
in Exception at line line 43
Integer
getStatus()
Get the HTTP status associated with this Exception (if applicable).