Sha256: a4dbceabe51cead55a52364d3b6006ba34048d48967495486a089ed6f51087ed

Contents?: true

Size: 1.3 KB

Versions: 8

Compression:

Stored size: 1.3 KB

Contents

require "ruby2_keywords"
require "forwardable"
require "http"
require "thread"
require "json"
require "oj"
require "set"

require "search_flip/version"
require "search_flip/null_instrumenter"
require "search_flip/helper"
require "search_flip/exceptions"
require "search_flip/json"
require "search_flip/http_client"
require "search_flip/config"
require "search_flip/connection"
require "search_flip/bulk"
require "search_flip/filterable"
require "search_flip/customable"
require "search_flip/explainable"
require "search_flip/highlightable"
require "search_flip/paginatable"
require "search_flip/sortable"
require "search_flip/sourceable"
require "search_flip/post_filterable"
require "search_flip/aggregatable"
require "search_flip/aggregation"
require "search_flip/criteria"
require "search_flip/response"
require "search_flip/result"
require "search_flip/index"
require "search_flip/model"

module SearchFlip
  class Error < StandardError; end

  class NotSupportedError < Error; end

  class HttpError < Error; end
  class ConnectionError < HttpError; end
  class TimeoutError < HttpError; end

  class ResponseError < Error
    attr_reader :code, :body

    def initialize(code:, body:)
      super

      @code = code
      @body = body
    end

    def to_s
      "#{self.class.name} (#{code}): #{body}"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
search_flip-4.0.0.beta16 lib/search_flip.rb
search_flip-4.0.0.beta15 lib/search_flip.rb
search_flip-4.0.0.beta14 lib/search_flip.rb
search_flip-4.0.0.beta13 lib/search_flip.rb
search_flip-4.0.0.beta12 lib/search_flip.rb
search_flip-4.0.0.beta11 lib/search_flip.rb
search_flip-4.0.0.beta10 lib/search_flip.rb
search_flip-4.0.0.beta9 lib/search_flip.rb