Sha256: 3d34758d14a19acec9004d13aa7dcb5c7743cb573b689fd11ca14c3799a15de7
Contents?: true
Size: 697 Bytes
Versions: 28
Compression:
Stored size: 697 Bytes
Contents
module ActiveUtils #:nodoc: class HTTPRequestError < StandardError #:nodoc: end ActiveUtilsError = HTTPRequestError #:nodoc: class ConnectionError < HTTPRequestError # :nodoc: end class RetriableConnectionError < ConnectionError # :nodoc: end class ResponseError < HTTPRequestError # :nodoc: attr_reader :response def initialize(response, message = nil) @response = response @message = message end def to_s "Failed with #{response.code} #{response.message if response.respond_to?(:message)}" end end class ClientCertificateError < HTTPRequestError # :nodoc end class InvalidResponseError < HTTPRequestError # :nodoc end end
Version data entries
28 entries across 28 versions & 1 rubygems