$di
$di : \Anax\DI\Anax\DI\DIInterface
A sample class for routes dealing with error situations.
errorPage(integer $status, string $title, string $message, string $template = null) : void
Render an error page with a message and a status code.
| integer | $status | code to use for response. |
| string | $title | to use for the page. |
| string | $message | to display in the view. |
| string | $template | the template file to use. |