touchlab / SQLiter

Minimal multiplatform sqlite library
https://touchlab.co
177 stars 35 forks source link

Pull error message from sqlite anywhere we have a failure #83

Closed kpgalligan closed 1 year ago

kpgalligan commented 2 years ago

When throwing sqlite exceptions, it makes sense to pull the error message and include that in the exception. Use sqlite3_errmsg. I am concerned that this may have issues in a multithreaded environment, but since we're making sure one connection is being accessed by one thread at a time, it'll probably be fine.

kpgalligan commented 1 year ago

Added previously