Exception: HastCI::RetryExhaustedError
- Defined in:
- lib/hastci/retry_exhausted_error.rb
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(message, status_code: nil, response_body: nil, original_error: nil) ⇒ RetryExhaustedError
constructor
A new instance of RetryExhaustedError.
Constructor Details
#initialize(message, status_code: nil, response_body: nil, original_error: nil) ⇒ RetryExhaustedError
Returns a new instance of RetryExhaustedError.
7 8 9 10 |
# File 'lib/hastci/retry_exhausted_error.rb', line 7 def initialize(, status_code: nil, response_body: nil, original_error: nil) @original_error = original_error super(, status_code: status_code, response_body: response_body) end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
5 6 7 |
# File 'lib/hastci/retry_exhausted_error.rb', line 5 def original_error @original_error end |