Skip to content

Commit

Permalink
Changed content of UserNotExistsOrWithoutAccess exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky committed Mar 14, 2022
1 parent 76b3ee0 commit 75637d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion neptune/management/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ class AccessRevokedOnMemberRemoval(ManagementOperationFailure):

class UserNotExistsOrWithoutAccess(ManagementOperationFailure):
code = 9
description = 'User "{user}" not exists or has no access to project "{project}".'
description = (
'User "{user}" does not exist or has no access to project "{project}". '
"If the project visibility is set to workspace, a user cannot be added or removed."
)


class UserAlreadyHasAccess(ManagementOperationFailure):
Expand Down

0 comments on commit 75637d5

Please sign in to comment.