vrischmann / zig-sqlite

zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maybe map all sqlite result code

vrischmann opened this issue · comments

sqlite's result codes are well defined, we could map all error result-code to an error without too much trouble.

The diagnostics struct will probably still be necessary to provide the sqlite error message, unless we want to provide a wrapper for sqlite3_errstr and it's up to the user to get the error message if they want too.