ajax error string

ajax error string

Hi Folks,

If I use an error handler in a $.ajax() call, I output the second and the third paramter from the callback.
That is "textStatus" and "errorThrown".

Now, if for instance my server script throws an error, I typically receive an "Internal Server Error" page.
In that case, "textStatus" is just "error" and "errorThrown" is "undefined".

My question here is, can I access the whole error string in the jQuery error event handler?