code: function doLink(linkSet) {
      var error = false;
      try {
        link(linkSet, function(load, exc) {
          linkSetFailed(linkSet, load, exc);
          error = true;
        });
      }
      catch(e) {
        linkSetFailed(linkSet, null, e);
        error = true;
      }
      return error;
    }
docs: linking errors can be generic or load-specific this is necessary for debugging info