How to handle errors in a node web app?
I'm coming from a python background. In python, it's common to throw an exception when something goes wrong. If you know how to handle the problem, you can recover from it. If not, the execution is aborted. In web, this means that if the request pres...