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

Avoid panics where possible #50

Closed
tnull opened this issue Mar 21, 2023 · 0 comments · Fixed by #119
Closed

Avoid panics where possible #50

tnull opened this issue Mar 21, 2023 · 0 comments · Fixed by #119
Milestone

Comments

@tnull
Copy link
Collaborator

tnull commented Mar 21, 2023

While panicking at a point of no return might be considered reasonable error handling in Rust, it turns out that the messages given to except don't translate in any way to some of the binding languages. We therefore should consider to avoid any panics in favor of using Results.

Maybe should go hand-in-hand with #31.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant