code: function printErrors(summary, errors) {
    logError(`${summary}\n`);
  
    errors.forEach(err => {
      logError(`\t- ${err.message || err}`);
    });
  
    console.log();
  }
docs: Print out a list of errors to the terminal.