aiosqlite icon indicating copy to clipboard operation
aiosqlite copied to clipboard

FR: Actually raise the exceptions that you are exposing

Open sevenrats opened this issue 1 year ago • 0 comments
trafficstars

Description

You expose sqlite Errors at the main level but these aren't the ones you actually raise (See core for example, where you raise sqlite3.OperationalError). The implementer is forced to import sqlite3 alongside your package in order to catch this exception but this appears not to be your intention.

occurs on release main branch untested, but looks like it still has the problem.

sevenrats avatar Oct 06 '24 18:10 sevenrats