Class RestrictViolation

Synopsis

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

class RestrictViolation : public IntegrityConstraintViolation

Description

No description yet.

Inheritance

Ancestors: IntegrityConstraintViolation

Methods

RestrictViolation

Source

Lines 306-315 in orm_lib/inc/drogon/orm/Exception.h. Line 307 in orm_lib/inc/drogon/orm/Exception.h.

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





Add Discussion as Guest

Log in to DocsForge