mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
993ddcc049
Copied wiki into docs directory This allows developers to open pull requests to edit documentation and also use mkdocs to create a styled HTML version * changed wiki links to relative links * removed Planned-Features.md * removed reference to planned features in Home.md
10 lines
469 B
Markdown
10 lines
469 B
Markdown
## When to expect an exception
|
|
|
|
sqlpp11 connectors throw the majority of `sqlpp::exception`s 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. |