def get_rc_exc(rc):
    rc = int(rc)
    try: return rc_exc_cache[rc]
    except __HOLE__: pass

    name = "ErrorReturnCode_%d" % rc
    exc = type(name, (ErrorReturnCode,), {})
    rc_exc_cache[rc] = exc
    return exc
dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/packages/pbs.py/get_rc_exc