Class UnexpectedRows

Synopsis

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

class UnexpectedRows : public RangeError

Description

Query returned an unexpected number of rows.

Mentioned in

Inheritance

Ancestors: RangeError

Methods

UnexpectedRows

Source

Lines 258-269 in orm_lib/inc/drogon/orm/Exception.h. Line 259 in orm_lib/inc/drogon/orm/Exception.h.

class UnexpectedRows : public RangeError
{
    virtual const std::exception &base() const noexcept override
    {
        return *this;
    }

  public:
    explicit UnexpectedRows(const std::string &msg) : RangeError(msg)
    {
    }
};





Add Discussion as Guest

Log in to DocsForge