Download astrbot/core/exceptions.py from qa1145/astrbbbb: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/qa1145/astrbbbb/resolve/main/astrbot/core/exceptions.py
- Command line
-
hf download hf://spaces/qa1145/astrbbbb/astrbot/core/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/qa1145/astrbbbb/resolve/main/astrbot/core/exceptions.py
219 Bytes
| from __future__ import annotations | |
| class AstrBotError(Exception): | |
| """Base exception for all AstrBot errors.""" | |
| class ProviderNotFoundError(AstrBotError): | |
| """Raised when a specified provider is not found.""" | |