Exception: Riak::CrdtError::UnrecognizedDataType

Inherits:
Riak::CrdtError show all
Defined in:
lib/riak/errors/crdt_error.rb

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(given_type) ⇒ UnrecognizedDataType

Returns a new instance of UnrecognizedDataType.



19
20
21
# File 'lib/riak/errors/crdt_error.rb', line 19

def initialize(given_type)
  super t('crdt.unrecognized_type', type: given_type)
end