Expand description
SnapshotError — wire-stable error variants for the snapshot subsystem.
Per 11-runtime-core.md § 6 the
variants map 1:1 to the fault_message strings the API server emits on
PUT /snapshot/create / PUT /snapshot/load failures. Renaming a variant is a
compat-suite golden change (I-RC-8 in 11 § 7), so the variants and their Display
shapes are the public contract.
The variant set in this enum is richer than the spec’s exemplar — it also
carries the per-step failure modes the implementation needs (InvalidPath,
MemoryWrite, Bitcode). Each is mapped through to a single wire-shape category
by SnapshotError::wire_message so the public surface stays stable.
Enums§
- Snapshot
Error - Errors produced by the snapshot subsystem.
Type Aliases§
- Result
- Result alias used throughout
squib-snapshot.