Module 10 · Error Handling: throw, try, catch, finally, and Reading a Stack Trace
Cheat Sheet: Every Piece of Error Handling and Every Error Kind on One Page
ProReading
Keep this page open while you solve the problems of this module. The first table is every piece of the syntax. The second is the error kinds with their real Node 22 messages. The third is the choice of how a function says it failed, and the last is the list of bugs to check before you submit.
Checking what this lesson needs for you…
What is inside Cheat Sheet: Every Piece of Error Handling and Every Error Kind on One Page
- Every piece
- Which error, with which message
- Throw, null, or a result object
- Where the try goes
- Bugs to check before you submit
Module test
Ten questions on this module. Pass at 70%, and you can take it as many times as you like.
Take the module test