SqliteModernCpp / sqlite_modern_cpp

The C++14 wrapper around sqlite library
MIT License
903 stars 156 forks source link

Store error message instead of error string for exceptions #189

Closed zauguin closed 5 years ago

zauguin commented 5 years ago

Resolves #187.

This still makes the old sqlite3_errstr available through e.errstr() for applications which prefer these, but .what() now defaults to the error message if it is provided. Therefore this is a breaking change.

zauguin commented 5 years ago

@BrannonKing Could you test this, please?

BrannonKing commented 5 years ago

It runs fine for me. Thanks.