Throws rather than degrading (see @g3-toolkit/core's
model/document-errors.ts): a snapshot half-applied is worse than
one rejected, because the camera and the pins would disagree. A
nested encoding spec is parsed by its own parser, so a bad spec
surfaces as an encoding-spec error rather than as a workspace one.
Parse a workspace snapshot.
Throws rather than degrading (see
@g3-toolkit/core'smodel/document-errors.ts): a snapshot half-applied is worse than one rejected, because the camera and the pins would disagree. A nested encoding spec is parsed by its own parser, so a bad spec surfaces as an encoding-spec error rather than as a workspace one.