docudb  1.0
Loading...
Searching...
No Matches
docudb::stmt_exception Struct Reference

Exception class for database errors. More...

#include <docudb.hpp>

Inheritance diagram for docudb::stmt_exception:
docudb::db_exception

Public Member Functions

 stmt_exception (sqlite3 *db_handle, std::string_view sql)
 Constructs a new db_exception object.
 
- Public Member Functions inherited from docudb::db_exception
 db_exception (sqlite3 *db_handle, std::string_view msg)
 Constructs a new db_exception object.
 

Detailed Description

Exception class for database errors.

Definition at line 499 of file docudb.hpp.

Constructor & Destructor Documentation

◆ stmt_exception()

docudb::stmt_exception::stmt_exception ( sqlite3 * db_handle,
std::string_view sql )

Constructs a new db_exception object.

Parameters
db_handleThe SQLite database handle.
msgThe failing statement.

The documentation for this struct was generated from the following file: