def _wrapped_operation(exc_class):
        def decorator(fn):
            def inner(*args, **kwargs):
                try:
                    return fn(*args, **kwargs)
                except (KeyboardInterrupt, __HOLE__):
                    raise
                except:
                    wrap_exception(exc_class)
            return inner
        return decorator
dataset/ETHPy150Open coleifer/huey/huey/api.py/Huey._wrapped_operation