Spaces:
Sleeping
Sleeping
Download core/exceptions.py from mgbam/CognitiveEDA: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/spaces/mgbam/CognitiveEDA/resolve/12fa96798a96c8b2edc9def95544dc9bcc8025a7/core/exceptions.py
- Command line
-
hf download hf://spaces/mgbam/CognitiveEDA@12fa96798a96c8b2edc9def95544dc9bcc8025a7/core/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/mgbam/CognitiveEDA/resolve/12fa96798a96c8b2edc9def95544dc9bcc8025a7/core/exceptions.py
666 Bytes
| # 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 |