hunk.code_window: 				result.Err = model.NewAppError("SqlUserStore.Save", "store.sql_user.save.email_exists.app_error", nil, "user_id="+user.Id+", "+err.Error(), http.StatusBadRequest)
   			} else if IsUniqueConstraintError(err.Error(), []string{"Username", "users_username_key", "idx_users_username_unique"}) {
   				result.Err = model.NewAppError("SqlUserStore.Save", "store.sql_user.save.username_exists.app_error", nil, "user_id="+user.Id+", "+err.Error(), http.StatusBadRequest)
   			} else {
   				result.Err = model.NewLocAppError("SqlUserStore.Save", "store.sql_user.save.app_error", nil, "user_id="+user.Id+", "+err.Error())
  
hunk.labels: keep replace keep keep keep
hunk.after_edit: 			} else if IsUniqueConstraintError(err, []string{"Username", "users_username_key", "idx_users_username_unique"}) {
  
hunk.file_path: store/sql_user_store.go
hunk.type: replace
file: // Copyright 2016 The Go Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style
  // license that can be found in the LICENSE file.
  
  // +build ignore
  
  package main
  
  import "unicode/utf8"
  
  // A system identifies a CLDR numbering system.
  type system byte
  
  type systemData struct {
  	id        system
  	digitSize byte              // number of UTF-8 bytes per digit
  	zero      [utf8.UTFMax]byte // UTF-8 sequence of zero digit.
  }
  
  // A SymbolType identifies a symbol of a specific kind.
  type SymbolType int
  
  const (
  	SymDecimal SymbolType = iota
  	SymGroup
  	SymList
  	SymPercentSign
  	SymPlusSign
  	SymMinusSign
  	SymExponential
  	SymSuperscriptingExponent
  	SymPerMille
  	SymInfinity
  	SymNan
  	SymTimeSeparator
  
  	NumSymbolTypes
  )
  
  type altSymData struct {
  	compactTag uint16
  	system     system
  	symIndex   byte
  }
  