Class UsageError

Synopsis

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

class UsageError : public DrogonDbException, public std::logic_error

Description

Error in usage of drogon orm library, similar to std::logic_error.

Inheritance

Ancestors: std::logic_error, DrogonDbException

Methods

UsageError

Source

Lines 210-219 in orm_lib/inc/drogon/orm/Exception.h. Line 211 in orm_lib/inc/drogon/orm/Exception.h.

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

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





Add Discussion as Guest

Log in to DocsForge