Extends
- foundation.exceptions.Handler.drivers.Driver
Members
(static) dependencies :Array.<string>
Class dependencies:
['app']
.
Methods
(async) render()
sendJsonResponse(exception, request, response, output)
Send JSON response based on given output.
Parameters:
Name | Type | Description |
---|---|---|
exception |
Error | string | The exception to render. |
request |
request | The current request instance. |
response |
response | The current response instance. |
output |
Array.<string> | The JsonResponseHandler output. |