A graceful error handler for Express applications.