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 12

Fetch Error Handling & HTTP Status Codes

10 stages

1

fetch Does Not Reject on HTTP Errors

Read
2

A 404 Response Does Not Reject

Exercise
3

Checking response.ok

Read
4

Throw on a Bad Response Status

Exercise
5

Handle Both Network and HTTP Errors

Exercise
6

HTTP Error Handling Check

Quiz
7

HTTP Status Codes You Will Encounter

Read
8

Respond Differently to Different Status Codes

Exercise
9

Handle a 204 No Content Response

Exercise
10

Lesson 12 Review

Quiz

Next step

Move forward when you're ready.

Continue with AbortController & Cancelling Requests.

Next lesson