code: func (sc *StatementContext) NumErrorWarnings() (ec, wc string) {
  	var (
  		ecNum uint16
  		wcNum int
  	)
  	sc.mu.Lock()
  	ecNum = sc.mu.errorCount
  	wcNum = len(sc.mu.warnings)
  	sc.mu.Unlock()
  
  	if ecNum == 0 {
  		ec = zero
  	} else {
  		ec = strconv.Itoa(int(ecNum))
  	}
  
  	if wcNum == 0 {
  		wc = zero
  	} else {
  		wc = strconv.Itoa(wcNum)
  	}
  	return
  }
docs: // NumErrorWarnings gets warning and error count.