File size: 664 Bytes
5862322
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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."""