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
Attributes inherited from Error
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.
19 20 21 22 |
# File 'lib/rom/elasticsearch/errors.rb', line 19 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.
17 18 19 |
# File 'lib/rom/elasticsearch/errors.rb', line 17 def query @query end |