Skip to content

fix: replace bare std::exception throws with descriptive place holder…#12

Open
rycamosun wants to merge 1 commit intoyhirose:masterfrom
rycamosun:master
Open

fix: replace bare std::exception throws with descriptive place holder…#12
rycamosun wants to merge 1 commit intoyhirose:masterfrom
rycamosun:master

Conversation

@rycamosun
Copy link
Copy Markdown

replace bare std::exception throws with placeholders

Changes

  • verify() now throws runtime_error with the SQLite error string via sqlite3_errstr(rc)
  • Iterator::operator++() throws runtime_error via sqlite3_errmsg(sqlite3_db_handle(stmt_)) on unexpected step
  • Iterator::operator++() also throws std::logic_error on null statement handle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant