Exception: Fission::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fission.old/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, original = $!) ⇒ Error



4
5
6
7
# File 'lib/fission.old/error.rb', line 4

def initialize(msg, original=$!)
  super(msg)
  @original = original
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original



3
4
5
# File 'lib/fission.old/error.rb', line 3

def original
  @original
end