def _handle_failure(self, on_failure, error):
        if on_failure is not None:
            obj = on_failure(error)
            if isinstance(obj, Exception):
                raise obj
Lists routes handled by a pod.
dataset/ETHPy150Open s3rvac/retdec-python/retdec/resource.py/Resource._handle_failure--crossover with--dataset/ETHPy150Open grow/grow/grow/commands/routes.py/routes