SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ ThrowSQLError()

void sqt::ThrowSQLError ( int error_code,
sqlite3 * db_handle )

A helper function to throw the sqt::SQLError exception.

Parameters
error_codeThe error code returned by SQLite functions.
db_handleThe SQLite database handle from which the error message is retrieved.