class Puppet::HTTP::ResponseError

An error due to an unsuccessful HTTP response, such as HTTP 500. @api public

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method Puppet::Error::new
   # File lib/puppet/http/errors.rb
27 def initialize(response)
28   super(response.reason)
29   @response = response
30 end