Add ErrorHandler.php to project