Beginner Debugging Language #errors #stack-traces

Reading Error Messages

6 exercises — parse TypeError, ECONNREFUSED, HTTP 422, race conditions, and Python exceptions into plain English you can communicate to your team.

0 / 6 completed
Stack trace reading guide
  • First line: the error type + message — what went wrong
  • Call stack: read top-to-bottom; look for YOUR project path
  • node:internal/ or node_modules/: library code — usually not your bug
  • file.js:34:12 — line 34, column 12 in your file
  • ENOENT: file not found  |  ECONNREFUSED: nothing on that port
  • TypeError: wrong type  |  ValueError: right type, wrong value
  • 422: business rule violation  |  500: server-side bug
1 / 6
A colleague shares this error. What does it mean in plain English?

TypeError: Cannot read properties of undefined (reading 'email')