Sha256: 1274ecb2c1258546a94e917e7e91f079db4941f0eac9daa52201303954db970e

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

module Nordea
  module FileTransfer
    class Error < RuntimeError
      attr_reader :code

      def initialize(code, message)
        @code = code.to_s
        super("#{message} (##{code})")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nordea-filetransfer-0.2.1 lib/nordea/file_transfer/error.rb