Methods

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
    # File lib/mechanize/redirect_limit_reached_error.rb, line 10
10:   def initialize page, redirects
11:     @page          = page
12:     @redirects     = redirects
13:     @response_code = page.code
14: 
15:     super "Redirect limit of #{redirects} reached"
16:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.