Exception: Elasticsearch::Tests::ActionError
- Inherits:
-
StandardError
- Object
- StandardError
- Elasticsearch::Tests::ActionError
- Defined in:
- lib/elasticsearch/tests/errors.rb
Overview
Class to track exactly which action errored
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#test_file ⇒ Object
readonly
Returns the value of attribute test_file.
Instance Method Summary collapse
-
#initialize(message, test_file, action) ⇒ ActionError
constructor
A new instance of ActionError.
Constructor Details
#initialize(message, test_file, action) ⇒ ActionError
Returns a new instance of ActionError.
27 28 29 30 31 |
# File 'lib/elasticsearch/tests/errors.rb', line 27 def initialize(, test_file, action) super() @test_file = test_file @action = action end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
25 26 27 |
# File 'lib/elasticsearch/tests/errors.rb', line 25 def action @action end |
#test_file ⇒ Object (readonly)
Returns the value of attribute test_file.
25 26 27 |
# File 'lib/elasticsearch/tests/errors.rb', line 25 def test_file @test_file end |