drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
drogon::orm::SerializationFailure Class Reference

Transaction failed to serialize. Please retry it. More...

#include <drogon/orm/Exception.h>

Inheritance diagram for drogon::orm::SerializationFailure:
Collaboration diagram for drogon::orm::SerializationFailure:

Public Member Functions

DROGON_EXPORT SerializationFailure (const std::string &)
Public Member Functions inherited from drogon::orm::TransactionRollback
DROGON_EXPORT TransactionRollback (const std::string &)
Public Member Functions inherited from drogon::orm::Failure
DROGON_EXPORT Failure (const std::string &)
Public Member Functions inherited from drogon::orm::DrogonDbException
virtual ~DrogonDbException () noexcept
 Support run-time polymorphism, and keep this class abstract.

Detailed 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.


The documentation for this class was generated from the following file: