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