Sha256: f09adbc4331725a8967aee55498ee2a535b9cb37b84db548503a74221529ebe1

Contents?: true

Size: 189 Bytes

Versions: 12

Compression:

Stored size: 189 Bytes

Contents

module Hieracles
  module Puppetdb
    class APIError < Exception
      attr_reader :code, :response
      def initialize(response)
        @response = response
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hieracles-0.4.2 lib/hieracles/puppetdb/apierror.rb
hieracles-0.4.1 lib/hieracles/puppetdb/apierror.rb
hieracles-0.4.0 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.6 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.5 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.4 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.3 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.2 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.1 lib/hieracles/puppetdb/apierror.rb
hieracles-0.3.0 lib/hieracles/puppetdb/apierror.rb
hieracles-0.2.2 lib/hieracles/puppetdb/apierror.rb
hieracles-0.2.1 lib/hieracles/puppetdb/apierror.rb