Skip to main content
AmigoFish

How To Handle Errors Like A Senior Dev

From Web Dev Simplified ยท ยท 32 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

*Become a web developer* with my *FREE Web Development Roadmap* - _260+ videos, 120+ projects, 60+ articles_ ๐Ÿ‘‰ https://webdevsimplified.com/web-dev-roadmap.html *Master TypeScript utility types* with my *FREE TS Utility Types Cheat Sheet* - _18+ types_ ๐Ÿ‘‰ https://webdevsimplified.com/ts-utility-types-cheat-sheet.html

Error handling is something that is often overlooked in apps, which is usually the sign of a junior developer. In this video I will show you how to properly handle errors in a typesafe way that makes working with your code so much easier.

๐Ÿ“š Materials/References:

Discriminating Unions Video: https://youtu.be/xsfdypZCLQ8 Satisfies Keyword Video: https://youtu.be/Xm_VGeTpS2Q Senior Dev Permissions Video: https://youtu.be/5GG-VUvruzE

๐ŸŒŽ Find Me Here:

My Blog: https://blog.webdevsimplified.com/ My Courses: https://courses.webdevsimplified.com/ Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified

โฑ๏ธ Timestamps:

00:00 - Introduction 00:54 - Starting Code 02:21 - The Problem 04:37 - Service Layer 13:49 - More Problems 15:44 - Simple Solution 26:02 - Library Solution

#ErrorHandling #WDS #TypeScript

Back to Web Dev Simplified ยท Report a problem