docs: function format_errors(error_group) {
  
    /**
     *  Formatted error message, initialize with filename heading.
     */
  
  	var file_errors = error_group.file + '\n\n';
  
  	/**
  	 *	Loop through errors.
  	 */
  
  	for (var e = 0; e < error_group.errors.length; e++) {
  
  		var error = error_group.errors[e];
  
  		/**
  		 *	Fallback for empty values.
  		 */
  
      if (! error.line && error.line !== 0) {
        error.line = '(unknown line)';
      }
  
      if (! error.character && error.character !== 0) {
        error.character = '(unknown column)';
      }
  
      if (! error.reason) {
        error.reason = '(unknown error)';
      }
  
      if (! error.evidence) {
        error.evidence = '(unknown problem)';
      }
  
      if (! error.code) {
        error.code = '(unknown error code)';
      }
  
  		/**
  		 *	Append formatted error to log message.
  		 */
  
  		file_errors += '  ['+error.code+'] line ' + error.line + ', column '
        + error.character + ':\n    Error: ' + error.reason
        + '\n    Code block: "' + error.evidence + '"\n\n';
  
  	}
  
  	file_errors += '\n';
  
  	return file_errors;
  
  }