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

Give DB-API its own exception hierarchy #42

Closed
jwp opened this issue Mar 29, 2010 · 2 comments
Closed

Give DB-API its own exception hierarchy #42

jwp opened this issue Mar 29, 2010 · 2 comments

Comments

@jwp
Copy link
Contributor

jwp commented Mar 29, 2010

Per-request from sqlalchemy, use a custom exception hierarchy for the .driver.dbapi20 module.

@jwp
Copy link
Contributor Author

jwp commented Sep 19, 2010

Need to double check with the sqlalchemy guys.. The error that I recall that was failing to get trapped was a subclass of the appropriate "DB-API exception". Maybe a direct comparison was being performed instead of an issubclass.

@jwp
Copy link
Contributor Author

jwp commented Apr 30, 2012

Doesn't seem to matter.

@jwp jwp closed this as completed Apr 30, 2012
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