Sha256: a6e51aa0ab836972b3de7fa47db218f2c33764e1a701f318e3aaeaff44cbfef0

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

require 'riak/errors/base'

module Riak
  class CrdtError < Error

    class SetRemovalWithoutContextError < CrdtError
      def initialize
        super t('crdt.set_removal_without_context')
      end
    end

    class PreconditionError < CrdtError
      def initialize(message)
        super t('crdt.precondition', message: message)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
riak-client-2.2.0.pre1 lib/riak/errors/crdt_error.rb
riak-client-2.1.0 lib/riak/errors/crdt_error.rb
riak-client-2.0.0 lib/riak/errors/crdt_error.rb
riak-client-2.0.0.rc2 lib/riak/errors/crdt_error.rb
riak-client-2.0.0.rc1 lib/riak/errors/crdt_error.rb