File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33#include < exception>
44#include < iostream>
55#include < string>
6+ #include < optional>
67
7- const std::string NITRO_SQLITE_EXCEPTION_PREFIX = " [NitroSQLiteException ]" ;
8+ const std::string NITRO_SQLITE_EXCEPTION_PREFIX = " [NativeNitroSQLiteException ]" ;
89
910enum NitroSQLiteExceptionType {
1011 UnknownError,
@@ -35,7 +36,7 @@ class NitroSQLiteException : public std::exception {
3536 explicit NitroSQLiteException (const std::string& message) : NitroSQLiteException(NitroSQLiteExceptionType::UnknownError, message) {}
3637 NitroSQLiteException (const NitroSQLiteExceptionType& type, const char * message) : NitroSQLiteException(type, std::string(message)) {}
3738 NitroSQLiteException (const NitroSQLiteExceptionType& type, const std::string& message)
38- : _exceptionString(NITRO_SQLITE_EXCEPTION_PREFIX + " [" + typeToString(type) + " ] " + message) {}
39+ : _exceptionString(NITRO_SQLITE_EXCEPTION_PREFIX + " [" + typeToString(type) + " ] " + message) {}
3940
4041private:
4142 const std::string _exceptionString;
You can’t perform that action at this time.
0 commit comments