The EASY Way to Handle Errors in JavaScript (For Beginners)
Sonny Sangha Sonny Sangha
260K subscribers
9,057 views
0

 Published On Premiered May 4, 2023

🚨 Join the world’s BEST developer course & community: Zero to Full Stack Hero πŸ‘‰ https://www.papareact.com/course

πŸ“© Want coding problems (with solutions!) delivered to your inbox daily? https://www.papareact.com/universityo...

πŸ”΄ LOOKING FOR THE CODE? πŸ› οΈ
https://links.papareact.com/github

Join me as I teach you several topics related to Try, Catch and Finally Blocks such as:

πŸ‘‰ What is a Try Statement
πŸ‘‰ What is a Catch Statement
πŸ‘‰ What is a Finally Statement
πŸ‘‰ Their Syntax and several Use Cases
πŸ‘‰ How to Rethrow Errors
πŸ‘‰ How to throw Custom Errors
πŸ‘‰ What is Destructuring & How do we use it?
πŸ‘‰ Why it's important to know and understand these Statements!

πŸ–₯️ Code Editor used in this tutorial: https://runjs.app/

πŸ‘‡ FOLLOW ME HERE:
Instagram: https://links.papareact.com/instagram
Facebook: https://links.papareact.com/facebook
LinkedIn: https://links.papareact.com/linkedin
Twitter: https://links.papareact.com/twitter
Discord: https://links.papareact.com/discord
Newsletter: https://links.papareact.com/newsletter

πŸ’° WANT TO SUPPORT THE CHANNEL?
Donate here: https://links.papareact.com/donate
Grab some PAPAFAM Merch: https://links.papareact.com/merch

πŸ• TIMESTAMPS:
00:00 Introduction
00:13 Introduction to Errors
00:53 Try, Catch and Finally Block Syntax
03:04 Example #1 (Throwing a Custom Error)
05:05 Example #2 (Rethrowing a Error)
06:46 Example #3 (Finally Block)
08:26 Example #4 (Not using the Catch Block)
09:16 Example #5 (Exception Handling in a Timed Function)
11:31 Lesson Summary
11:48 Outro

Let’s get it PAPAFAM πŸ”₯.

#javascript #tutorial #beginner #errorhandling

show more

Share/Embed