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/4c983fd1a9ca8bfaeec577c88d117b66c3e3ae59/fdanyone/errors.py
- Command line
-
hf download hf://spaces/rerun/4danyone-rerun@4c983fd1a9ca8bfaeec577c88d117b66c3e3ae59/fdanyone/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/rerun/4danyone-rerun/resolve/4c983fd1a9ca8bfaeec577c88d117b66c3e3ae59/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.""" | |