Learn how to handle errors in Angular with the HTTP client.
This video covers two different methods: subscribe method and catchError operator with pipe method.
You will learn how to log the error and return a default value in case of an error.
The video also includes a demo, which helps you understand how the code works.
It is a great resource for Angular developers who want to learn how to handle errors in their applications.
-----
📍 Source code: https://github.com/etrupja/angular-mo...
-----
📣 Blog: https://dotnethow.net
📣 Udemy: https://www.udemy.com/user/ervis-trupja/
📣 Pluralsight: https://www.pluralsight.com/authors/e...
📣 LinkedIn: / ervis-trupja
-----
#angular #webdeveloper #dotnethow
----
00:00 Welcome
01:11 Error handling in getFanFavoriteMovies with subscribe()
03:34 Error handling in getTopMovies with subscribe()
04:46 Demo of subscribe()
05:49 Error handling in getTopMovies with Pipe()
08:14 Demo of pipe()
08:34 Code cleanup
08:54 Thank you