Spaces:
Build error
Build error
Download src/utils/exceptions.py from DataQuests/DeepCritical: direct link, hf CLI and curl.
- Browser
- Download file 547 Bytes
-
https://huggingface.co/spaces/DataQuests/DeepCritical/resolve/3139749ea8dafb341fb50ee1a791cd7eeb49fdb9/src/utils/exceptions.py
- Command line
-
hf download hf://spaces/DataQuests/DeepCritical@3139749ea8dafb341fb50ee1a791cd7eeb49fdb9/src/utils/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/DataQuests/DeepCritical/resolve/3139749ea8dafb341fb50ee1a791cd7eeb49fdb9/src/utils/exceptions.py
547 Bytes
| """Custom exceptions for DeepCritical.""" | |
| class DeepCriticalError(Exception): | |
| """Base exception for all DeepCritical errors.""" | |
| pass | |
| class SearchError(DeepCriticalError): | |
| """Raised when a search operation fails.""" | |
| pass | |
| class JudgeError(DeepCriticalError): | |
| """Raised when the judge fails to assess evidence.""" | |
| pass | |
| class ConfigurationError(DeepCriticalError): | |
| """Raised when configuration is invalid.""" | |
| pass | |
| class RateLimitError(SearchError): | |
| """Raised when we hit API rate limits.""" | |
| pass | |