Erlend Egeberg Aasland 090819ec5f
gh-89022: Improve sqlite3 exceptions related to binding params and API misuse (#91572)
* Map SQLITE_MISUSE to sqlite3.InterfaceError

SQLITE_MISUSE implies misuse of the SQLite C API, which, if it happens,
is _not_ a user error; it is an sqlite3 extension module error.

* Raise better errors when binding parameters fail.

Instead of always raising InterfaceError, guessing what went wrong,
raise accurate exceptions with more accurate error messages.
2022-05-04 07:16:01 -06:00
..
2022-04-29 22:23:54 -07:00
2022-04-11 15:02:41 -07:00
2022-04-11 15:02:41 -07:00
2022-03-05 17:47:00 +02:00
2022-04-11 17:02:19 -07:00
2022-04-27 15:28:56 -06:00
2022-04-13 10:47:41 -07:00
2022-04-21 19:28:34 -07:00
2022-04-22 15:48:03 -07:00
2022-04-25 16:26:43 -07:00
2022-04-27 20:26:33 -07:00
2022-04-11 15:02:41 -07:00