In this video, Duncan, a front end infrastructure engineer, discusses error handling in asynchronous code execution, focusing especially on anticipated and unanticipated errors. He elaborates on the concept of unhandled promise rejections and the challenges they pose in the coding environment. Duncan introduces us to 'useAsyncEffectHook', a new tool designed to tackle these challenges by improving error handling. The video also includes a discussion around meeting developers where they are' by creating tools that fit their current coding practices.
00:03 Introduction and Speaker's Background
00:28 Overview of the Talk and Previous Session
01:04 Understanding Error Handling in General
01:20 Differentiating Anticipated and Unanticipated Error Handling
02:33 The Role of Infrastructure in Error Handling
03:13 Real World Scenarios and Challenges in Error Handling
04:51 The Problem with Current Error Handling Practices
05:56 The Concept of Floating Promises
06:09 Understanding Unhandled Promise Rejections
07:59 The Impact of Asynchronous Code on Error Handling
10:52 Improving Stack Traces and Error Handling
21:12 Introducing useAsyncEffectHook
22:45 Final Thoughts
Connect with Duncan on Linkedin : / duncanwalter
#javascript , #developer , #asyncawait, #developereducation, #hubspottutorial