Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Actually raise the exceptions that you are exposing #307

Open
sevenrats opened this issue Oct 6, 2024 · 0 comments
Open

FR: Actually raise the exceptions that you are exposing #307

sevenrats opened this issue Oct 6, 2024 · 0 comments

Comments

@sevenrats
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant