Extends
- foundation.exceptions.Handler.drivers.Driver
Members
(static) dependencies :Array.<string>
Class dependencies:
['app']
.
Methods
render()
renderView(exception)
Render view template, if possible.
If not, fallback on text.
Parameters:
Name | Type | Description |
---|---|---|
exception |
Error | The exception to render. |
Returns:
The rendered exception.
- Type
- string
renderText()
Render plain text.
Returns:
The rendered text.
- Type
- string