Exception: HttpSimple::HTTPMaxRedirectError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/httpsimple.rb

Overview

Raised when max redirects exceeded.

Instance Method Summary collapse

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