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

Cannot catch load/version issues with public API #12

Closed
epage opened this issue Jun 16, 2017 · 0 comments
Closed

Cannot catch load/version issues with public API #12

epage opened this issue Jun 16, 2017 · 0 comments

Comments

@epage
Copy link

epage commented Jun 16, 2017

It looks like nidaqmx-python/nidaqmx/_lib.py uses a different exception hierarchy than the API (nidaqmx-python/nidaqmx/errors.py).

I can understand not exposing the subclass exceptions since ctypes is an implementation detail but it seems like they should use a common base class for both to catch problems.

Wondernutz added a commit that referenced this issue Jul 10, 2017
<rev> Merging pull request - "Fix for unregistering callbacks"
#15

<rev> Fixing issue - "Should `_import_lib` error for unsupported
platforms?"
#13

<rev> Fixing issue - "Cannot catch load/version issues with public API"
#12

<rev> Fixing issue - "CONTRIBUTING.rst link to Issues is broken"
#11
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

2 participants