Spaces:
Sleeping
Sleeping
| # core/exceptions.py | |
| # -*- coding: utf-8 -*- | |
| # | |
| # PROJECT: CognitiveEDA v5.0 - The QuantumLeap Intelligence Platform | |
| # | |
| # DESCRIPTION: Custom exception classes for precise error handling throughout the application. | |
| class CognitiveEDAError(Exception): | |
| """Base exception for all application-specific errors.""" | |
| pass | |
| class DataProcessingError(CognitiveEDAError): | |
| """Raised for errors during data loading or manipulation.""" | |
| pass | |
| class AnalysisError(CognitiveEDAError): | |
| """Raised when a specific analysis module fails.""" | |
| pass | |
| class APIKeyMissingError(CognitiveEDAError): | |
| """Raised when the required API key is not found.""" | |
| pass |