Class Failure

Synopsis

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

class Failure : public DrogonDbException, public std::runtime_error

Description

Run-time Failure encountered by drogon orm lib, similar to std::runtime_error

Inheritance

Ancestors: std::runtime_error, DrogonDbException

Decsendents: InDoubtError, SqlError, BrokenConnection, TransactionRollback

Methods

Failure

Source

Lines 89-98 in orm_lib/inc/drogon/orm/Exception.h. Line 90 in orm_lib/inc/drogon/orm/Exception.h.

class Failure : public DrogonDbException, public std::runtime_error
{
    virtual const std::exception &base() const noexcept override
    {
        return *this;
    }

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





Add Discussion as Guest

Log in to DocsForge