4 ms·
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
by splendidHaiku 5y ago
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?