code: func NewErrf(errCode uint16, format string, args ...interface{}) *SQLError {
  	e := &SQLError{Code: errCode}
  
  	if s, ok := MySQLState[errCode]; ok {
  		e.State = s
  	} else {
  		e.State = DefaultMySQLState
  	}
  
  	e.Message = fmt.Sprintf(format, args...)
  
  	return e
  }
docs: // NewErrf creates a SQL error, with an error code and a format specifier.