Class ConversionError

Synopsis

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

class ConversionError : public DrogonDbException, public std::domain_error

Description

Value conversion failed, e.g. when converting "Hello" to int.

Inheritance

Ancestors: std::domain_error, DrogonDbException

Methods

ConversionError

Source

Lines 234-243 in orm_lib/inc/drogon/orm/Exception.h. Line 235 in orm_lib/inc/drogon/orm/Exception.h.

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

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





Add Discussion as Guest

Log in to DocsForge