Exception: Elasticsearch::Resources::Clusterable::NullClusterError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/elasticsearch/resources/clusterable.rb

Instance Method Summary collapse

Constructor Details

#initializeNullClusterError

Returns a new instance of NullClusterError.



24
25
26
# File 'lib/elasticsearch/resources/clusterable.rb', line 24

def initialize
  super(message)
end

Instance Method Details

#messageObject



28
29
30
# File 'lib/elasticsearch/resources/clusterable.rb', line 28

def message
  I18n.t('elasticsearch.resources.clusterable.null_cluster_error.message')
end