Exception: Mint::FixerCurrency::WrongCurrencyError
- Inherits:
-
TypeError
- Object
- TypeError
- Mint::FixerCurrency::WrongCurrencyError
- Defined in:
- lib/mint/fixer_currency/exceptions.rb
Overview
Exception for wrong currency name
Instance Method Summary collapse
-
#initialize(currency) ⇒ WrongCurrencyError
constructor
A new instance of WrongCurrencyError.
Constructor Details
#initialize(currency) ⇒ WrongCurrencyError
Returns a new instance of WrongCurrencyError.
5 6 7 |
# File 'lib/mint/fixer_currency/exceptions.rb', line 5 def initialize(currency) super "Can't find #{currency} currency, please setup it with Mint::FixerCurrency.currencies" end |