Updated multiple files to transition from using `<scene>` elements to `<rect>` elements with the `scene` property, promoting rectangle geometries to mount roots. This change enhances the JSX API by clarifying the role of scenes and ensuring consistency across examples and documentation. Additionally, modified related documentation to reflect the new usage and constraints of the `scene` property.
1.1 KiB
1.1 KiB
Errors
Where each pipeline stage fails, and with what effect:
| Stage | Where it surfaces | Effect |
|---|---|---|
| Compile (syntax/type-stripping/bundling) | CLI stderr, exit 1 | App never contacted. |
Evaluate / mount (thrown errors, invalid props, invalid root: e.g. a root that is not a scene, missing src, malformed Time, an unknown or cyclic syncTo key, syncTo combined with start) |
CLI stderr, exit 1 | Staging root discarded; nothing inserted. |
Generation (per-model constraints: aspectRatio, duration, feature flags) |
CLI stderr, exit 1, after every generation settled | No rollback; the mounted tree stays committed. The affected placeholder stops showing its generating state and is left without a paint. |
| Sync (a side without a decodable audio track, or no reliable alignment) | CLI stderr, exit 1, after every alignment settled | No rollback; the tree stays committed and the node keeps its default placement. |
Runtime errors are mapped back to the source via inline sourcemaps produced at compile time.