app-MAIL-temp/app/errors.py

23 lines
467 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