The way that Mojo works is that the call to that function, which happens in the accept block, calls a function. And then instead of returning nothing, it actually returns something between nothing and an error. So when you get to the call, you say, okay, cool, I call the function. Hey, I know locally I'm in a try block, right? And so I call thefunction and then I check to see what it returns. Aha, if it's that error thing, jump to the accept block.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode