|
|
| UndefinedTable (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr) |
|
| UndefinedTable (const std::string &msg, const std::string &Q, const int errcode, const int extendedErrcode) |
|
| SyntaxError (const std::string &err, const std::string &Q="", const char sqlstate[]=nullptr, int pos=-1) |
|
| SyntaxError (const std::string &msg, const std::string &Q, const int errcode, const int extendedErrcode, int pos=-1) |
|
DROGON_EXPORT | SqlError (const std::string &msg="", const std::string &Q="", const char sqlstate[]=nullptr) |
|
DROGON_EXPORT | SqlError (const std::string &msg, const std::string &Q, const int errcode, const int extendedErrcode) |
|
DROGON_EXPORT const std::string & | query () const noexcept |
| | The query whose execution triggered the exception.
|
|
DROGON_EXPORT const std::string & | sqlState () const noexcept |
|
DROGON_EXPORT int | errcode () const noexcept |
|
DROGON_EXPORT int | extendedErrcode () const noexcept |
|
DROGON_EXPORT | Failure (const std::string &) |
|
virtual | ~DrogonDbException () noexcept |
| | Support run-time polymorphism, and keep this class abstract.
|
|
|
const int | errorPosition_ |
| | Approximate position in string where error occurred, or -1 if unknown.
|
The documentation for this class was generated from the following file: