refactor(backend): type enumeration failures

This commit is contained in:
2026-07-26 22:32:43 +00:00
committed by didericis
parent b0f317c499
commit bafb73fdb9
8 changed files with 42 additions and 20 deletions
+4
View File
@@ -42,6 +42,10 @@ class BackendStatus(enum.IntEnum):
READY = 0
class EnumerationError(RuntimeError):
"""A backend could not produce an authoritative live-resource snapshot."""
@dataclass(frozen=True)
class BottleSpec:
"""CLI-supplied intent. Backend-agnostic — each backend's prepare