Exception: ExponentialBackoff::FailedRequest
- Inherits:
-
StandardError
- Object
- StandardError
- ExponentialBackoff::FailedRequest
- Defined in:
- lib/exponential_backoff.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ FailedRequest
constructor
A new instance of FailedRequest.
Constructor Details
#initialize(errors) ⇒ FailedRequest
Returns a new instance of FailedRequest.
26 27 28 |
# File 'lib/exponential_backoff.rb', line 26 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
24 25 26 |
# File 'lib/exponential_backoff.rb', line 24 def errors @errors end |