MSP-1071 add login error request
This commit is contained in:
1 parent
d2a1b2394b
commit
c6f5f4096b
1 file changed
+9
-8
+9
-8
@@ -5,12 +5,13 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ErrNotFound = errors.New("not found")
|
||||
ErrUnauthenticated = errors.New("authentication failure")
|
||||
ErrSudirAuthorization = errors.New("User is authorized only with SUDIR")
|
||||
ErrSudirAuthIsMissed = errors.New("SUDIR authorization is not configured on the server")
|
||||
ErrInvalid = errors.New("entity is invalid")
|
||||
ErrAlreadyExists = errors.New("already exists")
|
||||
ErrTokenExpired = errors.New("token expired")
|
||||
ErrTokenNotFound = errors.New("token not found")
|
||||
ErrNotFound = errors.New("not found")
|
||||
ErrUnauthenticated = errors.New("authentication failure")
|
||||
ErrSudirAuthorization = errors.New("User is authorized only with SUDIR")
|
||||
ErrSudirAuthIsMissed = errors.New("SUDIR authorization is not configured on the server")
|
||||
ErrInvalid = errors.New("entity is invalid")
|
||||
ErrAlreadyExists = errors.New("already exists")
|
||||
ErrTokenExpired = errors.New("token expired")
|
||||
ErrTokenNotFound = errors.New("token not found")
|
||||
ErrTooManyLoginRequests = errors.New("too many login requests")
|
||||
)
|
||||
Reference in new issue
Block a user