Download apps/automation/exceptions.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/automation/exceptions.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/automation/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/automation/exceptions.py
423 Bytes
| """Custom exceptions.""" | |
| from apps.core.exceptions import ( | |
| AutoTokenAcquisitionError, | |
| CaptchaRecognitionError, | |
| LoginFailedError, | |
| NoAvailableAccountError, | |
| TokenAcquisitionTimeoutError, | |
| ) | |
| # 从 core 重新导出,保持向后兼容 | |
| __all__ = [ | |
| "AutoTokenAcquisitionError", | |
| "CaptchaRecognitionError", | |
| "LoginFailedError", | |
| "NoAvailableAccountError", | |
| "TokenAcquisitionTimeoutError", | |
| ] | |