Hey.
I'm using the default ErrorController from Zend_Tool, so, when an
error is thrown setHttpResponseCode sets an error 500, how can I catch
the exception message on javascript? how can I set the exception
message into the response object? there's not setMessage method in
Zend_Http_Response :| how can I achive this? I'm using jQuery to catch
errors, using $.ajaxSetup( { error: function( XMLHttpRequest,
textStatus, errorThrown ) {} } ); XMLHttpRequest.statusText has the
default error message "Internal Server Error" from Zend_Http_Response,
there's a way to change this message with the exception message?.
Thanks.