Download src/openfactcheck/errors.py from hasaniqbal777/OpenFactCheck-Prerelease: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/hasaniqbal777/OpenFactCheck-Prerelease/resolve/main/src/openfactcheck/errors.py
- Command line
-
hf download hf://spaces/hasaniqbal777/OpenFactCheck-Prerelease/src/openfactcheck/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/hasaniqbal777/OpenFactCheck-Prerelease/resolve/main/src/openfactcheck/errors.py
246 Bytes
| class Error(Exception): | |
| """Base class for other exceptions""" | |
| class ConfigError(Error): | |
| """Raised when there is an error with the configurations""" | |
| class ConfigValidationError(Error): | |
| """Raised when configuration validation fails""" |