Thrown when too many redirects are sent
# File lib/mechanize/redirect_limit_reached_error.rb, line 5 def initialize(page, redirects) @page = page @redirects = redirects @response_code = page.code end
# File lib/mechanize/redirect_limit_reached_error.rb, line 11 def to_s "Maximum redirect limit (#{redirects}) reached" end