$http
requests that return with an error. It will then broadcast the event httpInterceptorError
which will provide the error object containing the status code, status text and other error information.
httpInterceptorError
when a $http
request receives an error,
this will provide the error object containing the status code, status text and other error information.