class PHPError(Exception):
    def __init__(self, message):
        super().__init__(message)


class UnsafeDataDirError(Exception):
    """Refusal to follow a symlink on the way to a site's data directory."""


class NotSiteOwnerError(PermissionError):
    """Refusal to delete a directory of a site that its owner does not own."""
