-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Error Handling #2 #12
Comments
You wouldn't always want to panic when handling errors. In simple example apps there is no need to recover from a failure, but when you are developing an application that has real-world purpose you would want to handle and recover from errors. So you would recover in the
and then handle errors like this:
Hope this helps :) |
Yea @apkrieg you can manupilate it how you want it. But im just asking if you guys want to change it so there isnt a
Just make a function so it dosent get repetitive and its good/clean code. |
I saw this recommendation before @amanuel2 In the end it's a matter of style i guess. |
This is just a suggestion...
Instead of doing this all the time:
why not make a function...
Im asking this since i dont exactly know how to make a pull request..
The text was updated successfully, but these errors were encountered: