Catching global errors in Angular 2 with ErrorHandler


Angular 2 already has a very good error handler. When an error randomly occurs in your code, the Angular’s error handler will catch it and will print the error details in the console. The error details will also include the line number with a link to the source file. In most cases this should be … Continue reading Catching global errors in Angular 2 with ErrorHandler