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 28 def initialize(response) 29 super(response.reason) 30 @response = response 31 end