Spaces:
Running on Zero
Running on Zero
Download src/solarwm/errors.py from hugging-apps/solarrenderer: direct link, hf CLI and curl.
- Browser
- Download file 602 Bytes
-
https://huggingface.co/spaces/hugging-apps/solarrenderer/resolve/main/src/solarwm/errors.py
- Command line
-
hf download hf://spaces/hugging-apps/solarrenderer/src/solarwm/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/hugging-apps/solarrenderer/resolve/main/src/solarwm/errors.py
602 Bytes
| """Framework-specific exceptions with actionable failure boundaries.""" | |
| class SolarWMError(RuntimeError): | |
| """Base class for expected framework failures.""" | |
| class ConfigurationError(SolarWMError): | |
| """The resolved run configuration violates a public contract.""" | |
| class DataContractError(SolarWMError): | |
| """An index, sample, camera, or tensor violates the data contract.""" | |
| class BackendContractError(SolarWMError): | |
| """A model backend cannot satisfy the requested route.""" | |
| class CheckpointError(SolarWMError): | |
| """A checkpoint transaction or compatibility gate is invalid.""" | |