Exception: AtlasEngine::Elasticsearch::Error
- Inherits:
-
StandardError
- Object
- StandardError
- AtlasEngine::Elasticsearch::Error
- Extended by:
- T::Sig
- Defined in:
- app/models/atlas_engine/elasticsearch/error.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, cause = nil) ⇒ Error
Returns a new instance of Error.
10 11 12 13 |
# File 'app/models/atlas_engine/elasticsearch/error.rb', line 10 def initialize(, cause = nil) super() @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
16 17 18 |
# File 'app/models/atlas_engine/elasticsearch/error.rb', line 16 def cause @cause end |