"""Custom exceptions for py-xmind16."""


class XMind16Error(Exception):
    """Base exception for all py-xmind16 errors."""
    pass


class ParseError(XMind16Error):
    """Raised when parsing an XMind file fails."""
    pass


class ValidationError(XMind16Error):
    """Raised when data validation fails."""
    pass


class WriteError(XMind16Error):
    """Raised when writing an XMind file fails."""
    pass
