Building a CRUD Application with Angular & ASP.Net Core - Error Handling

Error Handling Overview


Error Handling Overview

All applications are prone to having errors. We want to be proactive and build error handling into our applications.

In this video, we took a look at why errors might occur, status codes to recognize errors, and a few ways for catching errors.

Methods for catching errors

  1. Handling the error directly in our subscribe to our Observable.
  2. Using catchError() to catch and replace the error.
  3. Using catchError() to catch and rethrow the error.

Next up we will look at implementing these strategies and the flow they create in our own application.