Class SerializationFailure

Synopsis

#include <orm_lib/inc/drogon/orm/Exception.h>

class SerializationFailure : public TransactionRollback

Description

Transaction failed to serialize. Please retry it.

Can only happen at transaction isolation levels REPEATABLE READ and SERIALIZABLE.

The current transaction cannot be committed without violating the guarantees made by its isolation level. This is the effect of a conflict with another ongoing transaction. The transaction may still succeed if you try to perform it again.

Inheritance

Ancestors: TransactionRollback

Methods

SerializationFailure

Source

Lines 177-181 in orm_lib/inc/drogon/orm/Exception.h. Line 178 in orm_lib/inc/drogon/orm/Exception.h.

class SerializationFailure : public TransactionRollback
{
  public:
    explicit SerializationFailure(const std::string &);
};





Add Discussion as Guest

Log in to DocsForge