You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Structured validation errors (code + path alongside the message)
SceneValidationError now carries .issues: ValidationIssue[] — each problem is { code, path, message } with a stable machine code (unknown-blend, duplicate-node-id, unknown-timeline-label, bad-duration, …) and a path locator (nodes.box, timeline.beat(in)[0], camera.zoom, audio.cues[0]), so a consumer can categorize a
failure and point a UI at the offending element instead of parsing prose.
Propagated in-process: SceneLoadError.issues carries them across the scene's own bundled
core (read as a plain property, since instanceof can't cross the bundle), and reframe compile --json failures include issues ({ ok:false, error, kind, issues? }). ValidationIssue is exported from @reframe/core and reframe-video/compile.
Fully back-compat / additive: every message is byte-identical, and .problems (string[])
.message + the class identity are unchanged — the existing toThrow(/…/) suite passes
untouched. Validation isn't on the render path, so goldens are unaffected.