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

Exception class for database errors. More...

#include <docudb.hpp>

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

Public Member Functions

 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 485 of file docudb.hpp.

Constructor & Destructor Documentation

◆ db_exception()

docudb::db_exception::db_exception ( sqlite3 * db_handle,
std::string_view msg )

Constructs a new db_exception object.

Parameters
db_handleThe SQLite database handle.
msgThe error message.

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