simple-login/app/errors.py

29 lines
596 B
Python

class AliasInTrashError(Exception):
"""raised when alias is deleted before """
pass
class DirectoryInTrashError(Exception):
"""raised when a directory is deleted before """
pass
class SubdomainInTrashError(Exception):
"""raised when a subdomain is deleted before """
pass
class CannotCreateContactForReverseAlias(Exception):
"""raised when a contact is created that has website_email=reverse_alias of another contact"""
pass
class NonReverseAliasInReplyPhase(Exception):
"""raised when a non reverse-alias is used during a reply phase"""
pass