Exception: ECB::Exchange::CurrencyNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/ecb/exchange/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(currency_code) ⇒ CurrencyNotFoundError

Returns a new instance of CurrencyNotFoundError.


12
13
14
# File 'lib/ecb/exchange/errors.rb', line 12

def initialize(currency_code)
  super("#{currency_code} is missing or unavailable")
end