AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.