JavaScript Error Handling in Depth for Pythonistas (Fast Track)

Stephen Gruppetta 14 Lessons 1h 55m Updated intermediate js py

Joan’s community food bank imports donations once a month. If any row is bad, nothing should enter the books, and the report should explain every problem together. Port that workflow from Python to JavaScript in this compact course.

You’ll build on the Python exception handling you know and focus on the differences that affect the port. By the end, you’ll be able to:

  • Define a family of custom errors with extends Error, super(), and instanceof.
  • Name error classes and keep an original error with { cause: err }.
  • Collect failures in an AggregateError and handle its members.
  • Pause a running script with node inspect, Chrome DevTools, or VS Code.
  • Combine those tools in an all-or-nothing donation import.

Before starting, be comfortable with Python’s custom exception classes, exception chaining, exception groups, and debugger use. In JavaScript, you should know classes with extends and super(), plus try/catch, throw, and instanceof. You’ll need a current Node.js installation and an existing project in which you can run a JavaScript file. The examples use Node 26 and Python 3.15.

The course combines short videos, text lessons, four coding exercises, and a quiz. Written summaries below the videos let you revisit the code as you work on your own port.

What’s Included:

  • 14 Lessons
  • Video Subtitles and Full Transcripts
  • Translated Subtitles in 8 Languages
  • 2 Downloadable Resources
  • Interactive Quiz to Check Your Progress
  • 4 Hands-On Coding Exercises
  • Q&A With JavaScript Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Related Learning Paths:

About Stephen Gruppetta

Stephen obtained a PhD in physics and worked as a physicist in academia for over a decade before becoming a programming educator. He's constantly looking for simple ways to explain complex things.

» More about Stephen

← Browse All Courses