Exception: Source::GeneralError

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

Direct Known Subclasses

ProductFatalError, ProductNotFoundError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, source_keyname) ⇒ GeneralError

Returns a new instance of GeneralError.



7
8
9
10
# File 'lib/sources/source.rb', line 7

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

Instance Attribute Details

#source_keynameObject (readonly)

Returns the value of attribute source_keyname.



6
7
8
# File 'lib/sources/source.rb', line 6

def source_keyname
  @source_keyname
end