lib/searchkick.rb in searchkick-1.0.1 vs lib/searchkick.rb in searchkick-1.0.2

- old
+ new

@@ -17,13 +17,15 @@ # do nothing end require "searchkick/reindex_v2_job" if defined?(ActiveJob) module Searchkick - class MissingIndexError < StandardError; end - class UnsupportedVersionError < StandardError; end + class Error < StandardError; end + class MissingIndexError < Error; end + class UnsupportedVersionError < Error; end class InvalidQueryError < Elasticsearch::Transport::Transport::Errors::BadRequest; end - class DangerousOperation < StandardError; end + class DangerousOperation < Error; end + class ImportError < Error; end class << self attr_accessor :search_method_name attr_accessor :wordnet_path attr_accessor :timeout