Couchbase Transactions C++ Client
1.0.0
Transactions client for couchbase
|
Base class for all exceptions expected to be raised from a transaction. More...
#include <exceptions.hxx>
Public Member Functions | |
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... | |
Base class for all exceptions expected to be raised from a transaction.
Subclasses of this are the only exceptions that are raised out of the transaction lambda.
|
explicit |
Construct from underlying exception.
cause | Underlying cause for this exception. |
context | The internal state of the transaction at the time of the exception. |
|
inline |
The cause of the exception.
|
inline |
Internal state of transaction at time of exception.