Exception: Uncomtrade::CountryError
- Inherits:
-
StandardError
- Object
- StandardError
- Uncomtrade::CountryError
- Defined in:
- lib/uncomtrade/errors.rb
Instance Method Summary collapse
-
#initialize(nation) ⇒ CountryError
constructor
A new instance of CountryError.
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) = "Could not find specified country/code: #{nation}" super() end |