"""
Custom exceptions for tddai library.
"""


class TddaiError(Exception):
    """Base exception for all tddai errors."""
    pass


class WorkspaceError(TddaiError):
    """Raised when workspace operations fail."""
    pass


class IssueError(TddaiError):
    """Raised when issue operations fail."""
    pass


class ConfigurationError(TddaiError):
    """Raised when configuration is invalid."""
    pass


class TestGenerationError(TddaiError):
    """Raised when test generation fails."""
    pass