3 ms·
Once you reach the main function, you have to deal with the errors, since you can't propagate them any further.
by FreeFull 12y ago
Once you reach the main function, you have to deal with the errors, since you can't propagate them any further.
- the_mitsuhiko 12y agoYour main function is most likely pretty empty and that's the only place where you need to deal with hard failure. And that's the same in all languages. If you write in Python you don't just not handle exceptions either. Somewhere you catch them down and present them to the user in a good way.