Exception: ElasticSearch::RequestError
- Inherits:
-
FatalError
- Object
- StandardError
- FatalError
- ElasticSearch::RequestError
- Defined in:
- lib/elasticsearch/transport.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ RequestError
constructor
A new instance of RequestError.
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
#status ⇒ Object
Returns the value of attribute status.
10 11 12 |
# File 'lib/elasticsearch/transport.rb', line 10 def status @status end |