Utility to give a meaningful error from backbone xhr.