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

Backend shouldn't throw SQL exception #210

Open
dae opened this issue Jun 27, 2022 · 1 comment
Open

Backend shouldn't throw SQL exception #210

dae opened this issue Jun 27, 2022 · 1 comment

Comments

@dae
Copy link
Contributor

dae commented Jun 27, 2022

this mapping to an unrelated exception should be done at a higher level

Do you think you could use the github context menu on this comment to peel this to a new issue and specify exactly what the design issue is here?

Originally posted by @mikehardy in #202 (comment)

@dae dae changed the title this mapping to an unrelated exception should be done at a higher level Backend shouldn't throw SQL exception Jun 27, 2022
@dae
Copy link
Contributor Author

dae commented Jun 27, 2022

I think it might be a bit neater if the backend always throws BackendException, and the exception mapping was done in RustSupportSQLiteDatabase instead. But probably not high up on the list of priorities.

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