Sqlitepp  1.2.3
A thin sqlite C++ wrapper
Public Member Functions | List of all members
sqlite::Logic_error Class Reference

SQL Logic error. More...

#include <error.hpp>

Inheritance diagram for sqlite::Logic_error:
Inheritance graph
[legend]
Collaboration diagram for sqlite::Logic_error:
Collaboration graph
[legend]

Public Member Functions

 Logic_error (const std::string &what, const std::string &sql, int sqlite_error_code, sqlite3 *db)
 
- Public Member Functions inherited from sqlite::Error
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

- Protected Member Functions inherited from sqlite::Error
 Error (const std::string &sql, int sqlite_error_code, sqlite3 *db)
 

Detailed Description

SQL Logic error.

Constructor & Destructor Documentation

◆ Logic_error()

sqlite::Logic_error::Logic_error ( const std::string &  what,
const std::string &  sql,
int  sqlite_error_code,
sqlite3 *  db 
)
Parameters
[in]whatError message
[in]sqlLast SQL code ran
[in]sqlite_error_codeSqlite3 extended error code
[in]dbSqlite3 DB object

The documentation for this class was generated from the following files: