in rally-custom/esrally/client/synchronous.py [0:0]
def raise_error(cls, state, meta, body):
# These states mean the product_check() didn't fail so do nothing.
if state in (None, True):
return
if state == cls.UNSUPPORTED_DISTRIBUTION:
message = "The client noticed that the server is not a supported distribution of Elasticsearch"
else: # UNSUPPORTED_PRODUCT
message = "The client noticed that the server is not Elasticsearch and we do not support this unknown product"
raise UnsupportedProductError(message, meta=meta, body=body)