Forum Post: RE: THROW ERROR FROM CRUD OPERATION

  • Thread starter Thread starter maura
  • Start date Start date
Status
Not open for further replies.
M

maura

Guest
Also, I have similar code to Edsels' in my Update. I then have the following code in my UpdateService's error handler and see error message in responseText object. /* input paramters are: jqXHR, textStatus */ var msg = ""; var msg = ""; if (textStatus != undefined) msg = textStatus; if (jqXHR){ msg = msg + " Status :" + jqXHR.status; msg = msg + " responseText :" + jqXHR.responseText; } if (msg != undefined) alert("Update: " + msg); else alert("Update ERROR"); console.log("CustomerUpdate ERROR" + msg);

Continue reading...
 
Status
Not open for further replies.
Back
Top