Listen to exceptions for specific actions by adding errors.php to app dir and including it in global.php