Closed alperg closed 7 years ago
How can I intercept responseError?
If that is inside the body of your response JSON then you can do:
this.httpInterceptor.response().addInterceptor(res => res.do(r => console.log(r.json()['responseError'])));
How can I intercept responseError?