Pipeline error handler.