Exception: ExponentialBackoff::FailedRequest

Inherits:
StandardError
  • Object
show all
Defined in:
lib/exponential_backoff.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



24
25
26
# File 'lib/exponential_backoff.rb', line 24

def errors
  @errors
end