def get_data(error_code):
    """
    Lookup the error code description, if not available throw a value error
    """
    if 0 < error_code or error_code >= len(H2_ERRORS):
        raise ValueError("Error code is invalid")

    name = H2_ERRORS[error_code]['Name']
    number = H2_ERRORS[error_code]['Code']
    description = H2_ERRORS[error_code]['Description']

    return name, number, description
dataset/ETHPy150Open Lukasa/hyper/hyper/http20/errors.py/get_data/swapped operands of `<`