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 47cb1a0 commit ef97a7bCopy full SHA for ef97a7b
hdr/sqlite_modern_cpp.h
@@ -174,11 +174,11 @@ namespace sqlite {
174
if((hresult = sqlite3_step(_stmt.get())) == SQLITE_ROW) {
175
call_back();
176
} else if(hresult == SQLITE_DONE) {
177
- exceptions::throw_custom_error("no rows to extract: exactly 1 row expected");
+ throw exceptions::no_rows("no rows to extract: exactly 1 row expected");
178
}
179
180
181
- exceptions::throw_custom_error("not all rows extracted");
+ throw exceptions::more_rows("not all rows extracted");
182
183
184
if(hresult != SQLITE_DONE) {
0 commit comments