docs: function combineErrors(errPrev, errNew) {
    if (!errPrev) {
      return errNew;
    }
  
    let errCombined;
    if (errPrev instanceof AggregateError) {
      errCombined = errPrev;
    } else {
      errCombined = new AggregateError();
      errCombined.push(errPrev);
    }
  
    errCombined.push(errNew);
    return errCombined;
  }