CHips L MINI SHELL

CHips L pro

Current Path : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/rest/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/rest/errors.rb

# @deprecated Use {Puppet::HTTP::Client} instead.
module Puppet::Rest
  class ResponseError < Puppet::Error
    attr_reader :response

    # Error thrown when request status is not OK.
    # @param [String] msg the error message
    # @param [Puppet::Rest::Response] response the response from the failed
    #                                 request
    def initialize(msg, response = nil)
      super(msg)
      @response = response
    end
  end
end

Copyright 2K16 - 2K18 Indonesian Hacker Rulez