Sha256: d014b420c712da625f3a823f9732d2094bd0f1ddb3fb39a51f7791d42a2b22ae

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

# encoding: utf-8
module Inforouter #:nodoc:
  module Errors #:nodoc:
    # This error is raised when the infoRouter service
    # returns an error from an API.
    class ApiError < InforouterError
      # @param message [String] Error message.
      # @param raw [String] Raw data from the SOAP response.
      def initialize(message, raw)
        super(compose_message('api_error', message: message, raw: raw))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
inforouter-0.3.0 lib/inforouter/errors/api_error.rb
inforouter-0.2.9 lib/inforouter/errors/api_error.rb
inforouter-0.2.8 lib/inforouter/errors/api_error.rb
inforouter-0.2.7 lib/inforouter/errors/api_error.rb
inforouter-0.2.6 lib/inforouter/errors/api_error.rb