def _verify_error(res: int):
    '\n    Validate k4a_module result\n    '
    res = Result(res)
    if (res == Result.Failed):
        raise K4AException()
    elif (res == Result.Timeout):
        raise K4ATimeoutException()
Validate k4a_module result
def _verify_error(res: int):
    '\n    \n    '
    res = Result(res)
    if (res == Result.Failed):
        raise K4AException()
    elif (res == Result.Timeout):
        raise K4ATimeoutException()