Exception: Puppet::HTTP::TooManyRedirects
- Defined in:
- lib/puppet/http/errors.rb
Overview
An error if asked to follow too many redirects (such as HTTP 301).
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(addr) ⇒ TooManyRedirects
constructor
A new instance of TooManyRedirects.
Constructor Details
#initialize(addr) ⇒ TooManyRedirects
Returns a new instance of TooManyRedirects.
38 39 40 |
# File 'lib/puppet/http/errors.rb', line 38 def initialize(addr) super(_("Too many HTTP redirections for %{addr}") % { addr: addr }) end |