I am sending an error response to my jQuery. However, I can not get the response text (in the example below this would be Gone to the beach)
The onl
If you're not having a network error, and wanting to surface an error from the backend, for exmple insufficient privileges, server your response with a 200 and an error message. Then in your success handler check data.status == 'error'