Exception: Mint::WrongConversionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Mint::WrongConversionError
- Defined in:
- lib/mint/money/exceptions.rb
Overview
When a conversion need to setup currency rate
Instance Method Summary collapse
-
#initialize(msg) ⇒ WrongConversionError
constructor
A new instance of WrongConversionError.
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 |