I sometimes throw an error in my API service like this:
That works very well and I get the following response:
I was wondering: where does the “errorData” in the response come from. I don’t need it in my response so I would prefer not to have it there. If I can’t remove it, how would I be able to fill it?
Just trying to understand more about what I’m doing