Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
writeas
/
web-core
espelhamento de
https://github.com/writeas/web-core
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Atividade
Ver código fonte
Add "username taken" error
master
Matt Baer
6 anos atrás
pai
e994cb9bf8
commit
8cbd598abb
1 arquivos alterados
com
1 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
errors/general.go
+ 1
- 0
errors/general.go
Ver arquivo
@@ -26,4 +26,5 @@ var (
// User errors
ErrUserNotFound = impart.HTTPError{http.StatusNotFound, "User doesn't exist."}
ErrUserNotFoundEmail = impart.HTTPError{http.StatusNotFound, "Please enter your username instead of your email address."}
ErrUsernameTaken = impart.HTTPError{http.StatusConflict, "Username is already taken."}
)
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar