Spaces:
Running on Zero
Running on Zero
Download fdanyone/errors.py from rerun/4danyone-rerun: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/spaces/rerun/4danyone-rerun/resolve/1b2e96f9bdb4bdc32148870859e16da0ad533680/fdanyone/errors.py
- Command line
-
hf download hf://spaces/rerun/4danyone-rerun@1b2e96f9bdb4bdc32148870859e16da0ad533680/fdanyone/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/rerun/4danyone-rerun/resolve/1b2e96f9bdb4bdc32148870859e16da0ad533680/fdanyone/errors.py
498 Bytes
| """Project-specific errors with actionable user-facing messages.""" | |
| class FourDAnyoneError(RuntimeError): | |
| """Base class for expected pipeline failures.""" | |
| class ConfigurationError(FourDAnyoneError): | |
| """Raised when a frozen inference contract is violated.""" | |
| class AssetError(FourDAnyoneError): | |
| """Raised when a model or gated asset is missing or invalid.""" | |
| class VideoContractError(FourDAnyoneError): | |
| """Raised when an input cannot provide the canonical 121-frame clip.""" | |