In todays angular 4/5/6 error handling best practices tutorial session I will demonstrate the best possible ways to handle angular http service error, global errors and error logging for better visibility of kind of error your user is facing while using your app.
This video divides into 3 main part
1. Simple service using angular cli to demonstrate how to catch error using
catchError operator
2. Extend it to handle the http error using httpinterceptor and import in angular modules
3. Extend angular default error handler to use a logging service and log all the errors to remote sentry service.
====================================================
For an working example please download the source code from here
https://github.com/kalyan11021980/ang... ( SP7 branch)
======================================================
Sentry error logging service url : https://sentry.io/welcome/
~-~~-~~~-~~-~
Please watch: "Angular elements web components with angular 7/6"
• Advanced Angular elements web compone...
~-~~-~~~-~~-~