unarealidad/canarium-libraries-error-handler

A custom error handler for displaying 404 pages.

dev-master 2016-12-23 09:48 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:08:03 UTC


README

A custom error handler for displaying 404 pages in canarium. This library attaches ErrorHandler\View\NotFoundStrategy on bootstrap.

Template

To override the 404 page, add this file to your appinstance directory:

view/error/404.phtml

Template Variables Description
$reason Contains the reason for the 404