lib/exchange/base.rb in exchange-0.9.0 vs lib/exchange/base.rb in exchange-0.10.0
- old
+ new
@@ -1,10 +1,10 @@
module Exchange
# The current version of the exchange gem
#
- VERSION = '0.9.0'
+ VERSION = '0.10.0'
# The root installation path of the gem
# @version 0.5
# @since 0.1
#
@@ -13,7 +13,13 @@
# The error that gets thrown if no conversion rate is available
# @version 0.1
# @since 0.1
#
NoRateError = Class.new StandardError
+
+ # The error that gets thrown if the given currency is not a currency
+ # @version 0.10
+ # @since 0.10
+ #
+ NoCurrencyError = Class.new(ArgumentError)
end
\ No newline at end of file