Exception: Uncomtrade::CountryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/uncomtrade/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(nation) ⇒ CountryError

Returns a new instance of CountryError.



4
5
6
7
# File 'lib/uncomtrade/errors.rb', line 4

def initialize(nation)
  message = "Could not find specified country/code: #{nation}"
  super(message)
end