Sha256: c9fe4ba2a28611057d67e9d7af9c35aca1ee154fafc96666170a0ce44ef2be5d

Contents?: true

Size: 382 Bytes

Versions: 11

Compression:

Stored size: 382 Bytes

Contents

module Awis
  # Awis exceptions can be cought by rescuing: Awis::StandardError

  class StandardError < StandardError; end
  class ArgumentError < StandardError; end
  class CertificateError < StandardError; end

  class ResponseError < StandardError
    attr_reader :response

    def initialize(message, response)
      @response = response
      super(message)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
awis-sdk-ruby-1.0.0 lib/awis/exceptions.rb
awis-sdk-ruby-0.1.1 lib/awis/exceptions.rb
awis-sdk-ruby-0.1.0 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.9 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.8 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.7 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.6 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.5 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.4 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.3 lib/awis/exceptions.rb
awis-sdk-ruby-0.0.1 lib/awis/exceptions.rb