.
This commit is contained in:
1 parent
529bb6336e
commit
4855255373
4 files changed
+69
-18
No files matched your search
@@ -76,8 +76,9 @@ var (
|
||||
ErrAuthRequired = New(401, errCodeAuthRequired, "you must be authenticated to access this resource")
|
||||
|
||||
// 403 Forbidden
|
||||
ErrInactiveAccount = New(403, errCodeInactiveAccount, "your user account must be activated to access this resource")
|
||||
ErrNotPermitted = New(403, errCodeNotPermitted, "your user account doesn't have the necessary permissions to access this resource")
|
||||
ErrInactiveAccount = New(403, errCodeInactiveAccount, "your user account must be activated to access this resource")
|
||||
ErrNotPermitted = New(403, errCodeNotPermitted, "your user account doesn't have the necessary permissions to access this resource")
|
||||
ErrAuthenticatedVoteRejected = New(403, errCodeNotPermitted, "authenticated vote rejected")
|
||||
|
||||
// 404 Not Found
|
||||
ErrRecordNotFound = New(404, 404, "record not found")
|
||||
|
||||
Reference in new issue
Block a user