Sha256: 8e3bf4cab9fa797a480a613867797bd507f111d70b969c821e712aedfb3bcfe7
Contents?: true
Size: 336 Bytes
Versions: 5
Compression:
Stored size: 336 Bytes
Contents
module Pricesphere class Error < StandardError attr_reader :type attr_reader :message attr_reader :param def initialize(type=nil, message=nil, param=nil) @message = 'Error: ' + type + ' Message: ' + message @message += ' Failed at parameter: ' + param if not param.nil? end end end
Version data entries
5 entries across 5 versions & 1 rubygems