Exception: Fission::Error

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Error



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

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

Instance Attribute Details

#orginalObject (readonly)

Returns the value of attribute orginal



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

def orginal
  @orginal
end