8000 Change asserts to throwing ex-info · Issue #41 · tatut/specql · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Change asserts to throwing ex-info #41

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 Gi 7735 tHub? Sign in to your account

Open
tatut opened this issue Jan 10, 2019 · 0 comments
Open

Change asserts to throwing ex-info #41

tatut opened this issue Jan 10, 2019 · 0 comments

Comments

@tatut
Copy link
Owner
tatut commented Jan 10, 2019

For example, trying to insert data with unknown column will cause AssertionError, which will not be caught if user is trying to catch all Exceptions.

It is better to throw ex-info instead of asserting.

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
0