Comment

Comment by splendidHaiku

For me too. Only thing I sometimes struggle with, is figuring out how to place error catches. Wrap each async functions body in a try catch? Or always attach a catch handler to the calling function? But what if I forget to do that? Should the caller or the callee handle the errors or can both?

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton