Sha256: 6ee103d2608b437386a472c46a83f1651a6bb75b94ce0146220d5d1d724a772c

Contents?: true

Size: 719 Bytes

Versions: 3

Compression:

Stored size: 719 Bytes

Contents

require 'timeout'

module SoraGeocoding
  class ConfigurationError < StandardError
  end

  class ResponseParseError < StandardError
    attr_reader :response

    def initialize(response)
      @response = response
    end
  end

  class InvalidRequest < StandardError
  end

  class RequestDenied < StandardError
  end

  class PaymentRequiredError < StandardError
  end

  class ForbiddenError < StandardError
  end

  class NotFoundError < StandardError
  end

  class ProxyAuthenticationRequiredError < StandardError
  end

  class OverQueryLimitError < StandardError
  end

  class ServiceUnavailable < StandardError
  end

  class Timeout < ::Timeout::Error
  end

  class NetworkError < StandardError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sora_geocoding-0.2.2 lib/sora_geocoding/exceptions.rb
sora_geocoding-0.2.0 lib/sora_geocoding/exceptions.rb
sora_geocoding-0.1.0 lib/sora_geocoding/exceptions.rb