Exception: Elasticrawl::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Elasticrawl::Error
- Defined in:
- lib/elasticrawl/error.rb
Overview
Base error class extends standard error.
Direct Known Subclasses
AWSCredentialsInvalidError, ConfigDirMissingError, DatabaseAccessError, ElasticMapReduceAccessError, FileAccessError, S3AccessError
Instance Attribute Summary collapse
-
#http_response ⇒ Object
readonly
Returns the value of attribute http_response.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response = nil) ⇒ Error
Returns a new instance of Error.
6 7 8 |
# File 'lib/elasticrawl/error.rb', line 6 def initialize(response = nil) @http_response = response end |
Instance Attribute Details
#http_response ⇒ Object (readonly)
Returns the value of attribute http_response.
4 5 6 |
# File 'lib/elasticrawl/error.rb', line 4 def http_response @http_response end |