sqlpp23 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
Each of the connectors also provides their own exception class(es) that provide access to native error information from the underlying library.