code: func InterpretWatchError(err error, resource schema.GroupResource, name string) error {
  	switch {
  	case storage.IsInvalidError(err):
  		invalidError, _ := err.(storage.InvalidError)
  		return errors.NewInvalid(schema.GroupKind{Group: resource.Group, Kind: resource.Resource}, name, invalidError.Errs)
  	case storage.IsInternalError(err):
  		return errors.NewInternalError(err)
  	default:
  		return err
  	}
  }
docs: // InterpretWatchError converts a generic error on a watch
  // operation into the appropriate API error.