Exception: Riak::SearchError::UnexpectedResultError
- Inherits:
-
Riak::SearchError
- Object
- StandardError
- Error
- Riak::SearchError
- Riak::SearchError::UnexpectedResultError
- Defined in:
- lib/riak/errors/search_error.rb
Instance Method Summary collapse
-
#initialize(expected, actual) ⇒ UnexpectedResultError
constructor
A new instance of UnexpectedResultError.
Methods included from Util::Translation
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 |