def error_router(self, original_handler, e):
        if self._has_fr_route():
            try:
                return self.handle_error(e)
            except Exception:
                pass  # Fall through to original handler
        return original_handler(e)
Accepts configuration file with extra attributes on metrics.
dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/__init__.py/Api.error_router--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/benchmark/test/test_script.py/ValidationTests.test_metric_extra_attribute