Commit 8bc31c1c96f07334c875e49166681988b20fb73d
1 parent
bb777a09
Exists in
master
and in
2 other branches
Changed parent class of InvalidQueryError [skip ci]
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
lib/searchkick.rb
... | ... | @@ -34,8 +34,7 @@ module Searchkick |
34 | 34 | class Error < StandardError; end |
35 | 35 | class MissingIndexError < Error; end |
36 | 36 | class UnsupportedVersionError < Error; end |
37 | - # TODO switch to Error | |
38 | - class InvalidQueryError < Elasticsearch::Transport::Transport::Errors::BadRequest; end | |
37 | + class InvalidQueryError < Error; end | |
39 | 38 | class DangerousOperation < Error; end |
40 | 39 | class ImportError < Error; end |
41 | 40 | ... | ... |