| 38 | class more_rows: public sqlite_exception { using sqlite_exception::sqlite_exception; }; |
| 39 | class no_rows: public sqlite_exception { using sqlite_exception::sqlite_exception; }; |
| 40 | class reexecution: public sqlite_exception { using sqlite_exception::sqlite_exception; }; // Prepared statements need to be reset before calling them again |
| 41 | class more_statements: public sqlite_exception { using sqlite_exception::sqlite_exception; }; // Prepared statements can only contain one statement |
| 42 | |
| 43 | static void throw_sqlite_error(const int& error_code, const std::string &sql = "") { |