code: func AddSourceToErr(verb string, source string, err error) error {
  	if source != "" {
  		if statusError, ok := err.(errors.APIStatus); ok {
  			status := statusError.Status()
  			status.Message = fmt.Sprintf("error when %s %q: %v", verb, source, status.Message)
  			return &errors.StatusError{ErrStatus: status}
  		}
  		return fmt.Errorf("error when %s %q: %v", verb, source, err)
  	}
  	return err
  }
docs: // AddSourceToErr adds handleResourcePrefix and source string to error message.
  // verb is the string like "creating", "deleting" etc.
  // souce is the filename or URL to the template file(*.json or *.yaml), or stdin to use to handle the resource.