Exception: Source::ProductFatalError

Inherits:
GeneralError
  • Object
show all
Defined in:
lib/sources/source.rb

Instance Attribute Summary collapse

Attributes inherited from GeneralError

#source_keyname

Instance Method Summary collapse

Constructor Details

#initialize(message, source_keyname, product_code) ⇒ ProductFatalError

Returns a new instance of ProductFatalError.



23
24
25
26
# File 'lib/sources/source.rb', line 23

def initialize(message, source_keyname, product_code)
  super(message, source_keyname)
  @product_code = product_code
end

Instance Attribute Details

#product_codeObject (readonly)

Returns the value of attribute product_code.



22
23
24
# File 'lib/sources/source.rb', line 22

def product_code
  @product_code
end