What do you use to inject HTTP status code errors?
I have a Vue frontend which communicates to a backend server. Historically, when there have been errors in the frontend, that causes components to be blank and show no sign that anything is wrong.
I think I've figured out all the places where errors can happen, but is there a tool which can inject HTTP errors between the frontend and the backend, so I can check this? In the past, I've done this by modifying the backend to create an error, but I'd like a better tool.
Heres the research I've done on this so far:
- It looks like is capable of modifying the HTTP response code. Have not used it before.
- , but it looks like you need to set up an error page for each status code you're changing.