Exception: ElasticSearch::RequestError

Inherits:
FatalError
  • Object
show all
Defined in:
lib/elasticsearch/transport.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ RequestError

Returns a new instance of RequestError.



12
13
14
# File 'lib/elasticsearch/transport.rb', line 12

def initialize(status)
  @status = status
end

Instance Attribute Details

#statusObject

Returns the value of attribute status.



10
11
12
# File 'lib/elasticsearch/transport.rb', line 10

def status
  @status
end