Exception: ElasticRecord::ConnectionError
- Defined in:
- lib/elastic_record/errors.rb
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(status_code, message) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(status_code, message) ⇒ ConnectionError
Returns a new instance of ConnectionError.
7 8 9 10 |
# File 'lib/elastic_record/errors.rb', line 7 def initialize(status_code, ) @status_code = status_code super() end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
6 7 8 |
# File 'lib/elastic_record/errors.rb', line 6 def status_code @status_code end |