Sha256: af262da643b159d41e1310212b174f474d459595c3be9a956d45a00811e3b14b
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
module Mint module FixerCurrency # Exception for wrong currency name class WrongCurrencyError < TypeError def initialize(currency) super "Can't find #{currency} currency, please setup it with Mint::FixerCurrency.currencies" end end # Error exception came from Fixer.io class FixerArgumentError < ArgumentError def initialize(msg) super "Fixer.io error: #{msg}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mint-fixer_currency-0.1.0 | lib/mint/fixer_currency/exceptions.rb |