Class UniqueViolation

Synopsis

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

class UniqueViolation : public IntegrityConstraintViolation

Description

No description yet.

Inheritance

Ancestors: IntegrityConstraintViolation

Methods

UniqueViolation

Source

Lines 339-348 in orm_lib/inc/drogon/orm/Exception.h. Line 340 in orm_lib/inc/drogon/orm/Exception.h.

class UniqueViolation : public IntegrityConstraintViolation
{
  public:
    explicit UniqueViolation(const std::string &err,
                             const std::string &Q = "",
                             const char sqlstate[] = nullptr)
        : IntegrityConstraintViolation(err, Q, sqlstate)
    {
    }
};





Add Discussion as Guest

Log in to DocsForge