Exception: Mint::WrongConversionError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/mint/money/exceptions.rb

Overview

When a conversion need to setup currency rate

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ WrongConversionError

Returns a new instance of WrongConversionError.



20
21
22
# File 'lib/mint/money/exceptions.rb', line 20

def initialize(msg)
  super "Can't convert #{msg} without conversion rates"
end