Sqlitepp
1.2.3
A thin sqlite C++ wrapper
|
SQL Logic error. More...
#include <error.hpp>
Public Member Functions | |
Logic_error (const std::string &what, const std::string &sql, int sqlite_error_code, sqlite3 *db) | |
![]() | |
virtual const char * | sql () const noexcept |
Get SQL code where error was thrown. More... | |
virtual int | err_code () const noexcept |
Get sqlite3 error code. More... | |
virtual const char * | err_str () const noexcept |
Get a description of the sqlite3 error code. More... | |
virtual const char * | err_msg () const noexcept |
Get the sqlite3 error message. More... | |
Additional Inherited Members | |
![]() | |
Error (const std::string &sql, int sqlite_error_code, sqlite3 *db) | |
SQL Logic error.
sqlite::Logic_error::Logic_error | ( | const std::string & | what, |
const std::string & | sql, | ||
int | sqlite_error_code, | ||
sqlite3 * | db | ||
) |
[in] | what | Error message |
[in] | sql | Last SQL code ran |
[in] | sqlite_error_code | Sqlite3 extended error code |
[in] | db | Sqlite3 DB object |