Exception: Elasticsearch::Tests::ActionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/elasticsearch/tests/errors.rb

Overview

Class to track exactly which action errored

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, test_file, action)
  super(message)
  @test_file = test_file
  @action = action
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



25
26
27
# File 'lib/elasticsearch/tests/errors.rb', line 25

def action
  @action
end

#test_fileObject (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