Exception: Riak::CrdtError::UnexpectedDataType
- Inherits:
-
Riak::CrdtError
- Object
- StandardError
- Error
- Riak::CrdtError
- Riak::CrdtError::UnexpectedDataType
- Defined in:
- lib/riak/errors/crdt_error.rb
Instance Method Summary collapse
-
#initialize(given_type, expected_type) ⇒ UnexpectedDataType
constructor
A new instance of UnexpectedDataType.
Methods included from Util::Translation
Constructor Details
#initialize(given_type, expected_type) ⇒ UnexpectedDataType
Returns a new instance of UnexpectedDataType.
25 26 27 28 29 |
# File 'lib/riak/errors/crdt_error.rb', line 25 def initialize(given_type, expected_type) super t('crdt.unexpected_type', given: given_type, expected: expected_type) end |