Exception: Interest::Exception

Inherits:
StandardError
  • Object
show all
Defined in:
lib/interest/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_exception) ⇒ Exception

Returns a new instance of Exception.



5
6
7
8
# File 'lib/interest/exception.rb', line 5

def initialize(original_exception)
  self.original_exception = original_exception
  super()
end

Instance Attribute Details

#original_exceptionObject

Returns the value of attribute original_exception.



3
4
5
# File 'lib/interest/exception.rb', line 3

def original_exception
  @original_exception
end