from __future__ import annotations class TimeMachineError(Exception): """Base error for application-level failures.""" class ContractValidationError(TimeMachineError): """Raised when model output cannot be parsed into a domain contract.""" class EncounterNotFoundError(TimeMachineError): """Raised when a requested encounter does not exist in active session state.""" class AdapterConfigurationError(TimeMachineError): """Raised when the dependency container cannot build a requested adapter profile.""" class ModelBudgetError(TimeMachineError): """Raised when enabled model parameters exceed the hackathon limit."""