Похожие чаты

Ok this is a stupid question, but I'm asking it

since I was making things harder for myself and you corrected it. so ... when do we actually need a try catch? like never?

2 ответов

7 просмотров

any time you want to stop an error from bubbling normally, or want to intercept an error mid-bubble

You need it when (and only when) your async function is leaving the bubble of (your app)

Похожие вопросы

Обсуждают сегодня

Карта сайта