FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

sqlpp11/docs/Exception-Handling.md at optional · rbock/sqlpp11 · GitHub

/ sqlpp11 Public

Latest commit

 

History

History
10 lines (7 loc) · 469 Bytes

File metadata and controls

10 lines (7 loc) · 469 Bytes

When to expect an exception

sqlpp11 connectors throw the majority of sqlpp::exceptions so check your connector's documentation. Generally, you should expect an exception when:

  • Connecting to a database
  • Preparing a statement
  • Executing a statement
  • Retrieving and iterating through result rows

Additionally, the date library used by sqlpp11 may throw std::runtime_error. As of 2017-04-08 this only happens when formatting a date using a format string.


Back | FazBrowse Home | New Git URL