Impossible to capture 503 even with AngularJS'

2019-09-08 02:02发布

问题:

I'm wondering why I cannot capture the status 503 when I encounter the error. HTTP interceptor captures the error with a status of 0. Is it even possible? If so, can you provide a code please?