Sha256: b2608e0baec90cafd6d96eaf5c5a8f7a8ee3f546a8de4ca1a51087e58a6c0577

Contents?: true

Size: 374 Bytes

Versions: 6

Compression:

Stored size: 374 Bytes

Contents

require 'ecoportal/api/common/client/error/checks'

module Ecoportal
  module API
    module Common
      class Client
        module Error
          class UnexpectedServerError < StandardError
            def initialize(msg, code:)
              super("Code: #{code} -- Error: #{msg}")
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecoportal-api-0.10.8 lib/ecoportal/api/common/client/error.rb
ecoportal-api-0.10.7 lib/ecoportal/api/common/client/error.rb
ecoportal-api-0.10.6 lib/ecoportal/api/common/client/error.rb
ecoportal-api-0.10.5 lib/ecoportal/api/common/client/error.rb
ecoportal-api-0.10.4 lib/ecoportal/api/common/client/error.rb
ecoportal-api-0.10.3 lib/ecoportal/api/common/client/error.rb