I'm building an app with Koa but I'm extremely confused about how to handle errors in general. Am I supposed to do a try catch every single time I do await something(); Also, I was looking at this wiki https://github.com/koajs/koa/wiki/Error-Handling will this just handle every single error so I don't have to try to catch anything? I would love some to be linked to some resources on errors at a fundamental level because I'm having trouble understanding what people mean when they say errors propagate. Thanks in advance.
Submitted December 06, 2019 at 03:12AM by peluchh
No comments:
Post a Comment