Exception: HttpSimple::HTTPMaxRedirectError
- Inherits:
-
StandardError
- Object
- StandardError
- HttpSimple::HTTPMaxRedirectError
- Defined in:
- lib/httpsimple.rb
Overview
Raised when max redirects exceeded.
Instance Method Summary collapse
-
#initialize(max) ⇒ HTTPMaxRedirectError
constructor
A new instance of HTTPMaxRedirectError.
Constructor Details
#initialize(max) ⇒ HTTPMaxRedirectError
Returns a new instance of HTTPMaxRedirectError.
28 29 30 |
# File 'lib/httpsimple.rb', line 28 def initialize(max) super("Max redirects (#{max}) exceeded.") end |