InvalidInput
class InvalidInput extends ValidatorException
Properties
protected string | $message | The error message displayed to the user. | from ValidatorException |
protected integer | $status | The HTTP status code to respond with on this exception. | from ValidatorException |
protected MessageBag | $fields | Holds the validation errors. | from ValidatorException |
Methods
[type]
errorResponse()
Gather the message status and error and return them as a formatted JSON response.
from ValidatorException
Details
in ValidatorException 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).