app-MAIL-temp/app/errors.py

29 lines
596 B
Python
Raw Normal View History

class AliasInTrashError(Exception):
"""raised when alias is deleted before """
2020-05-07 22:28:49 +02:00
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