konstantin-paulus 2bb2add67b Update JSX elements to PascalCase and enhance type handling in documentation
Refactored JSX elements from lowercase to PascalCase, including `<scene>` to `<Scene>`, `<text>` to `<Text>`, and others, to improve consistency and clarity in the codebase. Updated related documentation to reflect these changes, ensuring that the usage of JSX elements aligns with the new naming conventions. This update enhances the overall readability and usability of the JSX API.
2026-07-19 20:25:33 +02:00

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. nested <Scene>, a root element without key, 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.