Sha256: ac970fbdf896f6a75ba2cdc8f4ef04d10f1f2df3e5b102deea7b8a32d4091b98
Contents?: true
Size: 685 Bytes
Versions: 80
Compression:
Stored size: 685 Bytes
Contents
module Puppet::HTTP class HTTPError < Puppet::Error; end class ConnectionError < HTTPError; end class RouteError < HTTPError; end class ProtocolError < HTTPError; end class SerializationError < 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
80 entries across 80 versions & 1 rubygems