Sha256: ad55a3cb705be12248f17c91b12363c348d76fe3f180305c00591885bb74f826

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

module Oschadbank
  class Error < StandardError
  end

  class InvalidRequestType < Error
  end

  class RequestError < Error
  end

  class InvalidResponse < Error
  end

  class ParamRequired < 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

1 entries across 1 versions & 1 rubygems

Version Path
oschadbank-0.1.10 lib/oschadbank/errors.rb