docs: public ClusterInfo getClusterInfoOrThrow() {
          ClusterInfo clusterInfo = getClusterInfoOrNull();
          if (clusterInfo == null) {
              throw new IllegalArgumentException("Elasticsearch cluster name:[ " + InternalConfigurationOptions.INTERNAL_ES_CLUSTER_NAME +
                      "] not present in configuration");
          }
          return clusterInfo;
      }