Class ArgumentError

Synopsis

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

class ArgumentError : public DrogonDbException, public std::invalid_argument

Description

Invalid argument passed to drogon orm lib, similar to std::invalid_argument.

Inheritance

Ancestors: std::invalid_argument, DrogonDbException

Methods

ArgumentError

Source

Lines 222-231 in orm_lib/inc/drogon/orm/Exception.h. Line 223 in orm_lib/inc/drogon/orm/Exception.h.

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

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





Add Discussion as Guest

Log in to DocsForge