title: JQuery Ajax Error Text
body: <p>I would like to set the error message on Ajax error operation from Java Servlet. </p>
  
  <pre><code>request.setAttribute(BreezeWebConstants.ERROR_MESSAGE, errMsg);
  response.setStatus(HttpServletResponse.SC_FORBIDDEN);
  
  error : function(jqXHR, textStatus, errorThrown) {
  alert("Move Ticket Error - " + textStatus);
  console.log("Move Unknown Ticket Error");
  }
  </code></pre>
  
  <p>The textStatus is predefined in Jquery but i need to set custom error message in java servlet and retrieve it on this error function. How to do it?</p>
  
  <p>Thanks. </p>