I tried doing a:
throw new Exception("My custom error message.");
in PHP, I need to get my string message to .ajax()'s .fail() handler, specifically to the jqXHR object that it receives so I can display it to the user.
How do I do this? I checked the Network data coming in, and it keeps containing some generic error message.