Sha256: 9ba222ca408ac3fb1b7c342b1f7c12a375fa49b4551dbe6845b4565baff3dfe8

Contents?: true

Size: 588 Bytes

Versions: 2

Compression:

Stored size: 588 Bytes

Contents

module Swiftype
  class ClientException < StandardError; end
  class NonExistentRecord < ClientException; end
  class RecordAlreadyExists < ClientException; end
  class InvalidCredentials < ClientException; end
  class BadRequest < ClientException; end
  class Forbidden < ClientException; end
  class UnexpectedHTTPException < ClientException; end

  class ServerException < StandardError; end
  class InternalServerError < ServerException; end
  class BadGateway < ServerException; end
  class ServiceUnavailable < ServerException; end
  class GatewayTimeout < ServerException; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swiftype-1.5.2 lib/swiftype/exceptions.rb
swiftype-1.5.0 lib/swiftype/exceptions.rb