Exception
class Exception 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 (if applicable). |
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).
Details
at line line 29
[type]
errorResponse()
Gather the message status and error and return them as a formatted JSON response.
at line line 43
Integer
getStatus()
Get the HTTP status associated with this Exception (if applicable).