
JS logging & error handling
JS Party: JavaScript, CSS, Web Development
Throwing an Error in a Job Asci
You can throw anything in job asci, go up your callstack. The error object is a special thing that you can throw. If you say skip in your function body, like a hook or a test, if you say this tot, skip, it throws. But it throws a special object called a pending. And we just catch the pending. It's not narror, but it just, it throws a thing. That's how wer uncle s tat a good ideaature. Anything's a good idea if it works.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.