Creating a HTTP_INTERCEPTORS in Angular to catch any server 500 or unhanded errors
Normally I have a base service class for 5XXX server errors or unhandled exceptions, or even in a case where you have a 422 /400 where there is a validation error and you want to warn the end-user to double-check the form inputs.This is another way to globally handle error messages.