Exception: HTTP::OutOfRetriesError

Inherits:
Error
  • Object
show all
Defined in:
lib/http/retriable/errors.rb

Overview

Retriable performance ran out of attempts

Instance Attribute Summary collapse

Instance Attribute Details

#causeException?

Returns the cause of the error

Examples:

error.cause

Returns:

  • (Exception, nil)


31
32
33
# File 'lib/http/retriable/errors.rb', line 31

def cause
  @cause || super
end

#responseHTTP::Response?

The last response received before failure

Examples:

error.response

Returns:



13
14
15
# File 'lib/http/retriable/errors.rb', line 13

def response
  @response
end