Sha256: 8ae8d56bdfe86727df010914e26b649e8beafa07919372fd1a7bb0015c88484b

Contents?: true

Size: 552 Bytes

Versions: 1

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

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