Merge remote-tracking branch 'upstream/main' into MSVCCompilerFlags

This commit is contained in:
jadebenn
2024-04-13 18:15:16 -05:00
15 changed files with 2307 additions and 2256 deletions

View File

@@ -36,10 +36,11 @@
#include "sqlite3.h"
#include <cstdio>
#include <cstring>
#include <exception>
#define CPPSQLITE_ERROR 1000
class CppSQLite3Exception
class CppSQLite3Exception : public std::exception
{
public:
@@ -54,6 +55,8 @@ public:
const int errorCode() { return mnErrCode; }
const char* errorMessage() { return mpszErrMess; }
const char* what() const noexcept override { return mpszErrMess; }
static const char* errorCodeAsString(int nErrCode);