Module: RubySimpleSearch::Errors

Defined in:
lib/ruby_simple_search/errors.rb

Constant Summary collapse

ATTRIBUTES_MISSING =
'Simple search attributes are missing'.freeze
INVALID_CONDITION =
"Extended query's array conditions are wrong".freeze
INVALID_TYPE =
'Extended query is not an array type'.freeze
INVALID_PATTERN =
"Looks like given pattern is wrong, valid pattern list is '#{LIKE_PATTERNS.keys}'".freeze
SEARCH_ARG_TYPE =
'`search_term` argument is not a string'.freeze
WRONG_ATTRIBUTES =
"`simple_search_arguments` method's arguments should be in symbol format".freeze