hunk.code_window: 			}
   			if count, err := us.GetMaster().Update(user); err != nil {
   				if IsUniqueConstraintError(err.Error(), []string{"Email", "users_email_key", "idx_users_email_unique"}) {
   					result.Err = model.NewAppError("SqlUserStore.Update", "store.sql_user.update.email_taken.app_error", nil, "user_id="+user.Id+", "+err.Error(), http.StatusBadRequest)
  
hunk.labels: keep keep keep replace keep
hunk.after_edit: 				if IsUniqueConstraintError(err, []string{"Email", "users_email_key", "idx_users_email_unique"}) {
  
hunk.file_path: store/sql_user_store.go
hunk.type: replace