Sha256: 816146cd8dfd9d1c91f25473a4b68a8ff71deac5ce23a1ed24dedcfaadf6cdda
Contents?: true
Size: 640 Bytes
Versions: 12
Compression:
Stored size: 640 Bytes
Contents
module Puppet::HTTP class HTTPError < Puppet::Error; end class ConnectionError < HTTPError; end class RouteError < HTTPError; end class ProtocolError < HTTPError; end class ResponseError < HTTPError attr_reader :response def initialize(response) super(response.reason) @response = response end end class TooManyRedirects < HTTPError def initialize(addr) super(_("Too many HTTP redirections for %{addr}") % { addr: addr}) end end class TooManyRetryAfters < HTTPError def initialize(addr) super(_("Too many HTTP retries for %{addr}") % { addr: addr}) end end end
Version data entries
12 entries across 12 versions & 1 rubygems