code: function _handleXhrError(observer, textStatus, errorThrown) {
    // IE9: cross-domain request may be considered errors
    if (!errorThrown) {
      errorThrown = new Error(textStatus);
    }
  
    observer.onError(errorThrown);
  }
docs: /*
  General handling of ultimate failure (after appropriate retries)