Easiest way is to use the standard ErrorController class. Typically that's what will show up with any type of error. If you modify controllers/ErrorController.php to do what you want, and modify the view/error/error.phtml file to display what you want, that's about the easiest you can do.
|