Exception: ROM::Elasticsearch::Error Private
- Inherits:
-
StandardError
- Object
- StandardError
- ROM::Elasticsearch::Error
- 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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #wrapped_error ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(wrapped_error) ⇒ Error
constructor
private
A new instance of Error.
Constructor Details
#initialize(wrapped_error) ⇒ Error
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 Error.
7 8 9 10 |
# File 'lib/rom/elasticsearch/errors.rb', line 7 def initialize(wrapped_error) super(wrapped_error.) @wrapped_error = wrapped_error end |
Instance Attribute Details
#wrapped_error ⇒ 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.
12 13 14 |
# File 'lib/rom/elasticsearch/errors.rb', line 12 def wrapped_error @wrapped_error end |