class
ApplicationSnapshotError
L20class ApplicationSnapshotError(ValueError)An application snapshot contains non-portable or inconsistent data.
fastsim.api.snapshots 的当前公共 Python API;签名从 vNext AST 直接提取。
源码 src/fastsim/api/snapshots.pyclass ApplicationSnapshotError(ValueError)An application snapshot contains non-portable or inconsistent data.
class ApplicationState(StrEnum)Stable externally observable state of one FastSim Run.
class ApplicationFailureRecord(object)Bounded failure facts that never retain the originating exception.
| 字段 | 类型 | 默认值 |
|---|---|---|
| operation | str | — |
| error_type | str | — |
| message | str | — |
| fatal | bool | — |
Lower an arbitrary, possibly hostile exception to exact builtins.
class ApplicationSnapshot(object)Cross-thread-readable public state for exactly one compiled Run.
| 字段 | 类型 | 默认值 |
|---|---|---|
| run_id | str | — |
| plan_digest | str | — |
| state | ApplicationState | — |
| runtime | RuntimeSnapshot | — |
| plugins | PluginHostSnapshot | None | — |
| failures | tuple[ApplicationFailureRecord, ...] | — |
| application_thread_id | int | — |