Added a custom error handler for internal server errors (500). Added an admin view to trigger arbitrary error codes.