Spaces:
Running on Zero
Running on Zero
File size: 602 Bytes
7b1830e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | """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."""
|