dlang-community / d2sqlite3

A small wrapper around SQLite for the D programming language
Boost Software License 1.0
75 stars 26 forks source link

Always emit error codes to SqliteException #58

Closed AndrejMitrovic closed 4 years ago

AndrejMitrovic commented 4 years ago

I originally tried to change get() to throw a VariantException instead of SqliteException, but this would be a breaking change. So instead I opted for letting the error code == 0 if it's an error that is unrelated to Sqlite (because type conversion errors are unrelated to the C database routines).

Geod24 commented 4 years ago

Can you re-open ?