Exception: Anakin::NetworkError
- Defined in:
- lib/anakin/errors.rb
Overview
DNS / connect / read-timeout failures from the underlying HTTP client.
Instance Attribute Summary collapse
-
#cause_error ⇒ Object
readonly
Returns the value of attribute cause_error.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, cause: nil) ⇒ NetworkError
constructor
A new instance of NetworkError.
Constructor Details
#initialize(message, cause: nil) ⇒ NetworkError
Returns a new instance of NetworkError.
71 72 73 74 |
# File 'lib/anakin/errors.rb', line 71 def initialize(, cause: nil) super() @cause_error = cause end |
Instance Attribute Details
#cause_error ⇒ Object (readonly)
Returns the value of attribute cause_error.
69 70 71 |
# File 'lib/anakin/errors.rb', line 69 def cause_error @cause_error end |