ANNUAL PRO PLAN, BEST VALUE

Save 33% with annual billing - only $5.99/mo

Annual Pro: $5.99/mo

Upgrade
Home
CoursesExercisesProjectsNew
SandboxResourcesBlog
ProfilePricing
Home
CoursesExercisesProjectsNew
SandboxResourcesBlog
ProfilePricing
Back to async js

Lesson 8

Error Handling with Async/Await

14 stages

1

try/catch Inside async Functions

Read
2

Catch a Rejected Await With try/catch

Exercise
3

A Throw Inside async Rejects the Returned Promise

Exercise
4

One try/catch for Multiple await Expressions

Read
5

One try/catch Covers the Whole Sequence

Exercise
6

Handle Each Step's Error Separately

Exercise
7

try/catch Patterns Check

Quiz
8

finally With async/await

Read
9

Use finally for Cleanup

Exercise
10

Unhandled Rejections With async/await

Read
11

Handle Rejections at the Call Site

Exercise
12

Re-Throwing Errors

Read
13

Re-Throw to Let the Caller Handle the Error

Exercise
14

Lesson 8 Review

Quiz

Next step

Move forward when you're ready.

Continue with Promise.all & Promise.allSettled.

Next lesson