Error handling is one of those things no one wants to deal with, well in Angular you can create a global handler and never have to worry again. Angular defines an ErrorHandler class that will allow us to override it and handle custom logic. Typically, I have my error handlers do things like: Show some sort of notification to the user via a dialog or growl-like component (ideally with a emoji)Send
![Global Error Handling with Angular2+](https://cdn-ak-scissors.b.st-hatena.com/image/square/7e4e61117609531ee184955a5d5fc512689565ab/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fda%3Atrue%2Fresize%3Afit%3A500%2F1%2ARwGHT8DOkuVDKcdPv7v11Q.gif)