Exception: Puppet::HTTP::TooManyRedirects

Inherits:
HTTPError show all
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

#original

Instance Method Summary collapse

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