Exception: CashFlowAnalysis::CalculationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cash_flow_analysis/calculation_error.rb

Instance Method Summary collapse

Instance Method Details

#initializer(error) ⇒ Object


3
4
5
6
# File 'lib/cash_flow_analysis/calculation_error.rb', line 3

def initializer(error)
  @cause = cause
  super "An error occurred performing the calculation. See the cause property for further information"
end