Sha256: d5d454c5a895419942fc014ff7d4e6a1d885a37c9f82645455ffa85e95fbe0e8

Contents?: true

Size: 390 Bytes

Versions: 9

Compression:

Stored size: 390 Bytes

Contents

module Oschadbank
  class Error < StandardError
  end

  class InvalidRequestType < Error
  end

  class RequestError < Error
  end

  class InvalidResponse < Error
  end

  class ParamRequred < Error
    def initialize(param)
      super("Param #{param} required")
    end
  end

  class InvalidSignature < Error
    def initialize
      super("Invalid signature param")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
oschadbank-0.1.9 lib/oschadbank/errors.rb
oschadbank-0.1.8 lib/oschadbank/errors.rb
oschadbank-0.1.7 lib/oschadbank/errors.rb
oschadbank-0.1.6 lib/oschadbank/errors.rb
oschadbank-0.1.5 lib/oschadbank/errors.rb
oschadbank-0.1.4 lib/oschadbank/errors.rb
oschadbank-0.1.3 lib/oschadbank/errors.rb
oschadbank-0.1.2 lib/oschadbank/errors.rb
oschadbank-0.1.1 lib/oschadbank/errors.rb