error cleanup

This commit is contained in:
David Kennedy 2024-12-16 22:59:26 -05:00
parent 7bbee19bfe
commit 5cb6c3f0fb
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 0 additions and 22 deletions

View file

@ -43,20 +43,6 @@ class AlreadyDomainInvitedError(InvitationError):
super().__init__(f"{email} has already been invited to this domain.")
class AlreadyPortfolioMemberError(InvitationError):
"""Raised when the user is already a member of the portfolio."""
def __init__(self, email):
super().__init__(f"{email} is already a manager for this portfolio.")
class AlreadyPortfolioInvitedError(InvitationError):
"""Raised when the user has already been invited to the portfolio."""
def __init__(self, email, portfolio):
super().__init__(f"{email} has already been invited to {portfolio}.")
class MissingEmailError(InvitationError):
"""Raised when the requestor has no email associated with their account."""