Stage#2. JavaScript Error Handling
This module introduces students to the different ways of handling errors in JavaScript. It aims to provide an in-depth understanding of error object, error types, synchronous, and asynchronous error handling. After completing the module, students will be able to apply the gained knowledge in real-world application development to improve its reliability.
In this module, students are expected to familiarize themselves with:
- Error object
- Error types
try..catchandthrowstatements- Error logging
- Error handling
- Async error events
- 2 hours
Students are encouraged to study the following resources:
- Error Object:
- Types of Errors:
- Throw and Catch Errors:
- Custom Errors:
- Asynchronous Error Handling:
errorEvent:- RS School Lecture:
- Complete the test "[St2] Error handling" in the RS-App > Auto Test.
Expand your knowledge with these additional materials: