Replies: 1 comment
-
You can use a interceptor however it is suggested to try get the back end service to respond with the correct HTTP code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The server responds a 200 but the body of the message has an error, can i validate that the response and reject the promise in case of error?, I have tried this but it does not work.
I've tried too, but it doesn't work either.
return Promise.reject(error)
Beta Was this translation helpful? Give feedback.
All reactions