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

Always make errors in handle creating methods throw #199

Closed
ThadHouse opened this issue Aug 12, 2016 · 0 comments
Closed

Always make errors in handle creating methods throw #199

ThadHouse opened this issue Aug 12, 2016 · 0 comments
Assignees
Milestone

Comments

@ThadHouse
Copy link
Member

Currently, the HAL returns an invalid handle on any status error, but exceptions are only thrown on negative errors. This means that a HAL handle error will be thrown later, masking an actual issue. We should change the methods that create a HAL handle to always throw on any status error.

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