mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
logical: Special error for permission denied
This commit is contained in:
parent
db2e1388fc
commit
5cbecba333
1 changed files with 3 additions and 0 deletions
|
|
@ -108,4 +108,7 @@ var (
|
|||
|
||||
// ErrInvalidRequest is returned if the request is invalid
|
||||
ErrInvalidRequest = errors.New("invalid request")
|
||||
|
||||
// ErrPermissionDeneid is returned if the client is not authorized
|
||||
ErrPermissionDenied = errors.New("permission denied")
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue