class Mechanize::RedirectLimitReachedError
Raised when too many redirects are sent
Attributes
page[R]
redirects[R]
response_code[R]
Public Class Methods
new(page, redirects)
click to toggle source
Calls superclass method
# File lib/mechanize/redirect_limit_reached_error.rb, line 10 def initialize page, redirects @page = page @redirects = redirects @response_code = page.code super "Redirect limit of #{redirects} reached" end