"""Exception classes for message-delivery."""


class DeliveryError(Exception):
    """Base exception for message-delivery errors."""


class GitError(DeliveryError):
    """Raised when a git operation fails."""


class EmailError(DeliveryError):
    """Raised when email sending fails or send-emails is not found."""


class SaveError(DeliveryError):
    """Raised when a note cannot be saved."""
