Method: Puppet::HTTP::ResponseError#initialize

Defined in:
lib/puppet/http/errors.rb

#initialize(response) ⇒ ResponseError

Returns a new instance of ResponseError.



29
30
31
32
# File 'lib/puppet/http/errors.rb', line 29

def initialize(response)
  super(response.reason)
  @response = response
end