Sha256: 881103f179ace71a175bfea21cd482e27b1a397fa0995edea56cba577f8326ef

Contents?: true

Size: 292 Bytes

Versions: 7

Compression:

Stored size: 292 Bytes

Contents

##
# Raised when the result's `body` is not a recognized class
module CloudParty
  module Errors
    class UnRecognizedResultTypeError < StandardError
      attr_reader :result_class

      def initialize(result_object)
        @result_class = result_object.class
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloud_party-0.1.7 lib/cloud_party/exceptions/un_recognized_result_type_error.rb
cloud_party-0.1.6 lib/cloud_party/exceptions/un_recognized_result_type_error.rb
cloud_party-0.1.5 lib/cloud_party/exceptions/un_recognized_result_type_error.rb
cloud_party-0.1.4 lib/cloud_party/exceptions/un_recognized_result_type_error.rb
cloud_party-0.1.3 lib/cloud_party/exceptions/un_recognized_result_type_error.rb
cloud_party-0.1.2 lib/cloud_party/exceptions/un_recognized_result_type_error.rb
cloud_party-0.1.1 lib/cloud_party/exceptions/un_recognized_result_type_error.rb