Spaces:
Sleeping
Sleeping
Download src/utils/exceptions.py from ArchCoder/web3-copilot: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/ArchCoder/web3-copilot/resolve/254afdc6ed0bddea8bb3f82fc286623c6bef8daf/src/utils/exceptions.py
- Command line
-
hf download hf://spaces/ArchCoder/web3-copilot@254afdc6ed0bddea8bb3f82fc286623c6bef8daf/src/utils/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/ArchCoder/web3-copilot/resolve/254afdc6ed0bddea8bb3f82fc286623c6bef8daf/src/utils/exceptions.py
265 Bytes
| from typing import Dict, Any | |
| class CustomException(Exception): | |
| pass | |
| class APIError(CustomException): | |
| pass | |
| class RateLimitError(APIError): | |
| pass | |
| class DataValidationError(CustomException): | |
| pass | |
| class ConfigurationError(CustomException): | |
| pass | |