Skip to content

Commit

Permalink
feat: adding error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroVidalDev committed Apr 22, 2024
1 parent de1bd8e commit 0aa1505
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/messagesEn.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ error.localAlreadyExists=Informed local name already exists in database.
error.macAlreadyExists=Informed MAC Address already exists in database.
error.permissionNotValid=Informed permission is not under 0 and 2.

error.consumerDontHavePermission=Consumer dont have permission to enter that local.

success.201=Created.
success.200=Operation realized.
2 changes: 2 additions & 0 deletions src/main/resources/messagesPt.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ error.localAlreadyExists=Nome do local informado ja existe no banco de dados.
error.macAlreadyExists=MAC informado ja existe no banco de dados de locais.
error.permissionNotValid=Permissao informada nao esta entre 0 e 2.

error.consumerDontHavePermission=Usuario nao tem permissao para acessar esse local.

success.201=Criado.
success.200=Operacao realizada.

0 comments on commit 0aa1505

Please sign in to comment.