Sha256: 9792bf2f51bf4f5a00077db3f4b5bfbe7492ddff479d9145c9f7551da352fd6e

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

module RubySimpleSearch
  module Errors
    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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_simple_search-2.0.0 lib/ruby_simple_search/errors.rb