Skip to content

Commit b93edc8

Browse files
Remove obsolete exception class
1 parent 0ae5444 commit b93edc8

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
@@ -145,16 +145,6 @@ def __init__(self):
145145
)
146146

147147

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

0 commit comments

Comments
 (0)