So I'm using httpClient.get() to make a REST call. I've set up the API to return a time out 504.
When looking at the Google devTools I can see that the call is made and the status is 504. but when I debug my code the HttpErrorResponse I get has status 0.
I also set up the API to return a 400 response and when I debug that code the Response status was 400. Why is the 400 propagated but the 504 is not?
We are using Angular 6.0.6