We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0669af2 commit de9bb36Copy full SHA for de9bb36
hdr/sqlite_modern_cpp.h
@@ -188,11 +188,11 @@ namespace sqlite {
188
if((hresult = sqlite3_step(_stmt.get())) == SQLITE_ROW) {
189
call_back();
190
} else if(hresult == SQLITE_DONE) {
191
- throw exceptions::no_rows("no rows to extract: exactly 1 row expected");
+ throw exceptions::no_rows("no rows to extract: exactly 1 row expected", SQLITE_DONE);
192
}
193
194
195
- throw exceptions::more_rows("not all rows extracted");
+ throw exceptions::more_rows("not all rows extracted", SQLITE_ROW);
196
197
198
if(hresult != SQLITE_DONE) {
0 commit comments