in ignite-tc-helper-web/src/main/webapp/js/common-1.6.js [62:90]
function showErrInLoadStatus(jqXHR, exception) {
if (jqXHR.status === 0) {
$("#loadStatus").html('Not connect.\n Verify Network.');
} else if (jqXHR.status === 404) {
$("#loadStatus").html('Requested page not found. [404]');
} else if (jqXHR.status === 401) {
$("#loadStatus").html('Unauthorized [401]');
setTimeout(function() {
window.location.href = "/login.html" + "?backref=" + encodeURIComponent(window.location.href);
}, 1000);
} else if (jqXHR.status === 403) {
$("#loadStatus").html('Forbidden [403]');
} else if( jqXHR.status === 418) {
$("#loadStatus").html('Services are starting [418], I\'m a teapot');
} else if (jqXHR.status === 424) {
$("#loadStatus").html('Dependency problem: [424]: ' + jqXHR.responseText);
} else if (jqXHR.status === 500) {
$("#loadStatus").html('Internal Server Error [500].');
} else if (exception === 'parsererror') {
$("#loadStatus").html('Requested JSON parse failed.');
} else if (exception === 'timeout') {
$("#loadStatus").html('Time out error.');
} else if (exception === 'abort') {
$("#loadStatus").html('Ajax request aborted.');
} else {
$("#loadStatus").html('Uncaught Error.\n' + jqXHR.responseText);
}
}