Spaces:
Sleeping
Sleeping
File size: 666 Bytes
9ca5a51 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# 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 |