Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats
Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers
909: Handling and Throwing Errors
39 minutes Posted Jun 9, 2025 at 11:00 am.
Welcome to Syntax!
Error terminology.
Thrown and catching.
What’s in an error.
Name and message.
Stack.
Node system errors.
Messages: strings, objects, or custom errors.
Throwing errors.
Promise errors.
Try catch block, .catch().
Using awaited-to.
Finally.
promise.try()
Re-throwing errors.
Client-side errors.
Catching at different levels.
Displaying errors.
Transforming server errors into client errors.
Error boundaries.
Server errors.
JSON API.
HTTP response codes.
Logging and solving errors.
Proudly supported by Sentry.io.
TypeScript and errors.
0:00
39:06
Download MP3
Show notes
We break down how to properly throw, catch, and log errors in JavaScript and TypeScript. They cover client-side and server-side strategies, using tools like Sentry, and how to handle errors without taking down your whole app.
Show Notes
Error Cause
Logging within Sentry
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott: X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads