crystal-lang / crystal-sqlite3

SQLite3 bindings for Crystal
MIT License
139 stars 30 forks source link

Expose extended result codes in the exception #66

Open erdnaxeli opened 3 years ago

erdnaxeli commented 3 years ago

Hi,

The current Exception.code field return the primary result code. It would be nice to add a new field extented_code, using sqlite3_extended_errcode().

https://sqlite.org/rescode.html#pve