Sha256: 49c28636a82964479e6bccea1c1b84b14b8ac90af8b3cddbe0ef77027938701a

Contents?: true

Size: 620 Bytes

Versions: 12

Compression:

Stored size: 620 Bytes

Contents

module IdealMollie
  #
  # Exception class specific for the IdealMollie error that might occur
  #
  class IdealException < Exception
    # @return [String] The errorcode
    attr_accessor :errorcode
    # @return [String] The error description
    attr_accessor :message
    # @return [String] The error type
    attr_accessor :type

    # @param [String] errorcode The error code
    # @param [String] message The error message
    # @param [String] type The error type
    def initialize(errorcode, message, type)
      self.errorcode = errorcode
      self.message = message
      self.type = type
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ideal-mollie-1.0.5 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-1.0.4 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-1.0.3 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-1.0.2 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-1.0.1 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-1.0.0 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-0.0.8 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-0.0.7 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-0.0.6 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-0.0.5 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-0.0.4 lib/ideal-mollie/ideal_exception.rb
ideal-mollie-0.0.3 lib/ideal-mollie/ideal_exception.rb