Lesson 8
Error Handling with Async/Await
14 stages
try/catch Inside async Functions
Catch a Rejected Await With try/catch
A Throw Inside async Rejects the Returned Promise
One try/catch for Multiple await Expressions
One try/catch Covers the Whole Sequence
Handle Each Step's Error Separately
try/catch Patterns Check
finally With async/await
Use finally for Cleanup
Unhandled Rejections With async/await
Handle Rejections at the Call Site
Re-Throwing Errors
Re-Throw to Let the Caller Handle the Error
Lesson 8 Review
Next step
Move forward when you're ready.
Continue with Promise.all & Promise.allSettled.