code: func StandardErrorMessage(err error) (string, bool) {
  	if debugErr, ok := err.(debugError); ok {
  		glog.V(4).Infof(debugErr.DebugError())
  	}
  	_, isStatus := err.(errors.APIStatus)
  	switch {
  	case isStatus:
  		return fmt.Sprintf("Error from server: %s", err.Error()), true
  	case errors.IsUnexpectedObjectError(err):
  		return fmt.Sprintf("Server returned an unexpected response: %s", err.Error()), true
  	}
  	switch t := err.(type) {
  	case *url.Error:
  		glog.V(4).Infof("Connection error: %s %s: %v", t.Op, t.URL, t.Err)
  		switch {
  		case strings.Contains(t.Err.Error(), "connection refused"):
  			host := t.URL
  			if server, err := url.Parse(t.URL); err == nil {
  				host = server.Host
  			}
  			return fmt.Sprintf("The connection to the server %s was refused - did you specify the right host or port?", host), true
  		}
  		return fmt.Sprintf("Unable to connect to the server: %v", t.Err), true
  	}
  	return "", false
  }
docs: // StandardErrorMessage translates common errors into a human readable message, or returns
  // false if the error is not one of the recognized types. It may also log extended
  // information to glog.
  //
  // This method is generic to the command in use and may be used by non-Kubectl
  // commands.