-
Notifications
You must be signed in to change notification settings - Fork 105
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
Deprecate panic!
s for Result<T, E>
#33
Comments
mfreeborn
changed the title
Depreciate panic!'s for Result<T, E>
Deprecate Sep 29, 2022
panic!
s for Result<T, E>
Closing this as it is tracked in #104 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The widespread use of
.unwrap()
and.expect()
make this library unsuitable for use in applications that need to be fault-tolerant, such as webservers, etc. Consider refactoring code that can fail to use an Error type that encapsulates what went wrong so client code can decide how to handle the failure. If you'd like, I can make this change and submit a pull-request.The text was updated successfully, but these errors were encountered: