Exception: ROM::Elasticsearch::SearchError Private
- Defined in:
- lib/rom/elasticsearch/errors.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #query ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(wrapped_error, query) ⇒ SearchError
constructor
private
A new instance of SearchError.
Constructor Details
#initialize(wrapped_error, query) ⇒ SearchError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of SearchError.
17 18 19 20 |
# File 'lib/rom/elasticsearch/errors.rb', line 17 def initialize(wrapped_error, query) super(wrapped_error) @query = query end |
Instance Attribute Details
#query ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/rom/elasticsearch/errors.rb', line 15 def query @query end |