Sha256: f8e60e6d1ed7c7d253867448579d6d21345c35990e56989e02745e8d5845c75a

Contents?: true

Size: 466 Bytes

Versions: 6

Compression:

Stored size: 466 Bytes

Contents

module Timezone
  # Error messages that can be raised by this gem. To catch any related error message, simply use Error::Base.
  #
  #   begin
  #     ...
  #   rescue Timezone::Error::Base => e
  #     puts "Timezone Error: #{e.message}"
  #   end
  module Error
    class Base < StandardError; end
    class InvalidZone < Base; end
    class NilZone < Base; end
    class GeoNames < Base; end
    class Google < Base; end
    class ParseTime < Base; end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
timezone-0.3.9 lib/timezone/error.rb
timezone-0.3.8 lib/timezone/error.rb
timezone-0.3.7 lib/timezone/error.rb
timezone-0.3.6 lib/timezone/error.rb
timezone-0.3.5 lib/timezone/error.rb
timezone-0.3.4 lib/timezone/error.rb