class Faraday::FollowRedirects::RedirectLimitReached

Exception thrown when the maximum amount of requests is exceeded.

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/faraday/follow_redirects/redirect_limit_reached.rb, line 12
def initialize(response)
  super "too many redirects; last one to: #{response['location']}"
  @response = response
end