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.



14
15
16
# File 'lib/ecb/exchange/errors.rb', line 14

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