2min chapter

Syntax - Tasty Web Development Treats cover image

Potluck × Meeting IRL × SSG vs SSR × Domain Privacy

Syntax - Tasty Web Development Treats

CHAPTER

Throwing a New Error or Console.error?

Chad: I noticed that your error catching is on point. You sometimes go through lots of techniques. For example, pretty much every time Scott writes in a sync function, he immediately wraps it in a try catch. As a relative beginner, I tend to treat each individual situation and don't have any default strategies like that. Could you come up with some tasty treats for catching error handling? Chad: Should I use console to error versus throwing a new error? Thanks for considering my question.

00:00

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