Sha256: e42b4f67e8b7c1b6430f2c5358826d2f27e0eb433005b8ae162c9b158edd269f
Contents?: true
Size: 862 Bytes
Versions: 12
Compression:
Stored size: 862 Bytes
Contents
module Timezone # Error messages that can be raised by this gem. To catch any # related error message, use Error::Base. # # begin # ... # rescue Timezone::Error::Base => e # puts "Timezone Error: #{e.message}" # end module Error # Top-level error. All other timezone errors subclass this one. class Base < StandardError; end # Indicates an invalid timezone name. class InvalidZone < Base; end # Indicates a lookup failure. class Lookup < Base; end # Indicates an error during lookup using the geonames API. class GeoNames < Lookup; end # Indicates an error during lookup using the google API. class Google < Lookup; end # Indicates a missing stub during a test lookup. class Test < Lookup; end # Indicates an invalid configuration. class InvalidConfig < Base; end end end
Version data entries
12 entries across 12 versions & 1 rubygems