new errors
This commit is contained in:
@@ -15,6 +15,8 @@ type ValidationKeys struct {
|
||||
PasswordAlreadyChanged string
|
||||
UserDisabled string
|
||||
NoAuthToken string
|
||||
NotFound string
|
||||
InUse string
|
||||
}
|
||||
|
||||
type ValidationFields struct {
|
||||
@@ -65,6 +67,8 @@ var Responses = struct {
|
||||
UserDisabled: "server.validation.user_disabled",
|
||||
PasswordAlreadyChanged: "server.validation.password_already_changed",
|
||||
NoAuthToken: "server.error.no_auth_token",
|
||||
NotFound: "server.error.not_found",
|
||||
inUse: "server.error.in_use",
|
||||
},
|
||||
Fields: ValidationFields{
|
||||
General: "general",
|
||||
|
||||
Reference in New Issue
Block a user