Sha256: eaa2f05729515ba7eef844be60bfb14eff1558ad9e325b905ec08fb764531c67

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

module Geocoder

  class Error < StandardError
  end

  class ConfigurationError < Error
  end

  class OverQueryLimitError < Error
  end

  class ResponseParseError < Error
    attr_reader :response

    def initialize(response)
      @response = response
    end
  end

  class RequestDenied < Error
  end

  class InvalidRequest < Error
  end

  class InvalidApiKey < Error
  end

  class ServiceUnavailable < Error
  end

  class LookupTimeout < ::Timeout::Error
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geocoder-1.2.10 lib/geocoder/exceptions.rb