Sha256: 9803db5c5006c0837a3f6e6a132139eef8f8d764d368dad4b34a13389f8cb42a
Contents?: true
Size: 836 Bytes
Versions: 12
Compression:
Stored size: 836 Bytes
Contents
require 'riak/errors/base' module Riak class SearchError < Error class IndexExistsError < SearchError def initialize(name) super t('search.index_exists', name: name) end end class SchemaExistsError < SearchError def initialize(name) super t('search.schema_exists', name: name) end end class IndexArgumentError < SearchError def initialize(index) super t('search.index_argument_error', index: index) end end class IndexNonExistError < SearchError def initialize(index) super t('search.index_non_exist', index: index) end end class UnexpectedResultError < SearchError def initialize(expected, actual) super t('search.unexpected_result', expected: expected, actual: actual) end end end end
Version data entries
12 entries across 12 versions & 2 rubygems