Exception: Riak::SearchError::UnexpectedResultError

Inherits:
Riak::SearchError show all
Defined in:
lib/riak/errors/search_error.rb

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(expected, actual) ⇒ UnexpectedResultError

Returns a new instance of UnexpectedResultError.



30
31
32
# File 'lib/riak/errors/search_error.rb', line 30

def initialize(expected, actual)
  super t('search.unexpected_result', expected: expected, actual: actual)
end