Skip to content

Commit 9e57f82

Browse files
Remove obsolete exception class
1 parent d0a8d88 commit 9e57f82

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

exceptions/http_exceptions.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,6 @@ def __init__(self):
146146
)
147147

148148

149-
class ActiveInvitationExistsError(HTTPException):
150-
"""Raised when trying to invite a user for whom an active invitation already exists."""
151-
152-
def __init__(self):
153-
super().__init__(
154-
status_code=409,
155-
detail="An active invitation already exists for this email address in this organization.",
156-
)
157-
158-
159149
class InvalidRoleForOrganizationError(HTTPException):
160150
"""Raised when a role provided does not belong to the target organization.
161151
Note: If the role ID simply doesn't exist, a standard 404 RoleNotFoundError should be raised.

0 commit comments

Comments
 (0)