Exception: Couchbase::Error::CasMismatch

Inherits:
CouchbaseError show all
Defined in:
lib/couchbase/errors.rb,
/code/couchbase-ruby-client/lib/couchbase/errors.rb

Overview

Indicates an optimistic locking failure.

The operation failed because the specified compare and swap (CAS) value differs from the document’s actual CAS value. This means the document was modified since the original CAS value was acquired.

The application should usually respond by fetching a fresh version of the document and repeating the failed operation.

Instance Attribute Summary

Attributes inherited from CouchbaseError

#cause, #context

Method Summary

Methods inherited from CouchbaseError

#initialize, #to_s

Constructor Details

This class inherits a constructor from Couchbase::Error::CouchbaseError