Error Handling in JavaScript
Errors happen, even in JavaScript. This course will teach you how to handle errors in JavaScript.
What you'll learn
Errors happen in every application. In this course, Error Handling in JavaScript, you'll learn to deal with errors to keep your JavaScript application running. First, you'll explore the JavaScript Error object. Next, you'll discover how to use try, catch, and finally blocks to manage errors. Finally, you'll learn how to extend the JavaScript Error object. When you're finished with this course, you'll have the skills and knowledge of JavaScript Error handling needed to deal with errors to keep your JavaScript application running.
Table of contents
- What to Expect from This Course 2m
- An Overview of Error Handling in JavaScript 3m
- Demo: Different Types of Errors 7m
- Demo: A Closer Look at the Error Object 3m
- Checkpoint 01 - Create and throw and error 0m
- Demo: Handling Errors with a Try, Catch, Finally Block 4m
- Checkpoint 02 - Handle an Error with a try/catch block 0m
- Demo: Extending the Error Object to Handle Specific Errors 6m
- Exercise 01 - create a custom Error object 0m
- Demo: Asynchronous Error Handling 2m
- Summary and Where to Go Next 2m