Class InDoubtError

Synopsis

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

class InDoubtError : public Failure

Description

"Help, I don't know whether transaction was committed successfully!"

Exception that might be thrown in rare cases where the connection to the database is lost while finishing a database transaction, and there's no way of telling whether it was actually executed by the backend. In this case the database is left in an indeterminate (but consistent) state, and only manual inspection will tell which is the case.

Inheritance

Ancestors: Failure

Methods

InDoubtError

Source

Lines 155-159 in orm_lib/inc/drogon/orm/Exception.h. Line 156 in orm_lib/inc/drogon/orm/Exception.h.

class InDoubtError : public Failure
{
  public:
    explicit InDoubtError(const std::string &);
};





Add Discussion as Guest

Log in to DocsForge