mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
normalize common database errors
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
5ac99ee556
commit
87451560e3
13 changed files with 200 additions and 68 deletions
|
|
@ -189,6 +189,8 @@ const (
|
|||
I18nAddFolderTitle = "title.add_folder"
|
||||
I18nUpdateFolderTitle = "title.update_folder"
|
||||
I18nTemplateFolderTitle = "title.template_folder"
|
||||
I18nErrorDuplicatedUsername = "general.duplicated_username"
|
||||
I18nErrorDuplicatedName = "general.duplicated_name"
|
||||
)
|
||||
|
||||
// NewI18nError returns a I18nError wrappring the provided error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue