Hacker News new | past | comments | ask | show | jobs | submit login

The standard way to handle errors coming from 'await' is try/catch, and any errors can be handled in the catch block as if they were coming from a synchronous context. So, you'd now filter async errors the same way you filter synchronous ones.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: