Couchbase Transactions C++ Client
1.0.0
Transactions client for couchbase
|
Transaction expired. More...
#include <exceptions.hxx>
Public Member Functions | |
transaction_expired (const std::runtime_error &cause, const transaction_context &context) | |
Public Member Functions inherited from couchbase::transactions::transaction_exception | |
transaction_exception (const std::runtime_error &cause, const transaction_context &context) | |
Construct from underlying exception. More... | |
const transaction_result & | get_transaction_result () const |
Internal state of transaction at time of exception. More... | |
external_exception | cause () const |
The cause of the exception. More... | |
Transaction expired.
A transaction can expire if, for instance, a document in the transaction is also being mutated in other transactions (or outside transactions). The transaction will rollback and retry in this situation, however if the conflicts persist it can expire before being successful.