28 lines
503 B
Python
28 lines
503 B
Python
|
|
"""
|
||
|
|
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
|