Sha256: 45b8d88a647e7d7d5876df27d3e3ef3784313200bd625a771aa67589499a36f7

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

require 'riak/util/translation'

module Riak
  # Raised when an object that is in conflict (i.e. has siblings) is
  # stored or manipulated as if it had a single value.
  class Conflict < StandardError
    include Util::Translation

    def initialize(robject)
      super t('object_in_conflict', :robject => robject.inspect)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
riak-client-2.4.1 lib/riak/conflict.rb
riak-client-2.4.0 lib/riak/conflict.rb
riak-client-2.4.0.pre1 lib/riak/conflict.rb
riak-client-2.3.2 lib/riak/conflict.rb
riak-client-2.3.1 lib/riak/conflict.rb