| Total Complexity | 2 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ErrorHandlerController implements ContainerInjectableInterface |
||
| 13 | { |
||
| 14 | use ContainerInjectableTrait; |
||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * Add internal routes for 403, 404 and 500 that provides a page with |
||
| 20 | * error information, using the default page layout. |
||
| 21 | * |
||
| 22 | * @param string $message with details. |
||
| 23 | * |
||
| 24 | * @throws Anax\Route\Exception\NotFoundException |
||
| 25 | |||
| 26 | * @return object as the response. |
||
| 27 | */ |
||
| 28 | public function catchAll() : object |
||
| 65 |