Thrown when the working-DB apply/capture fails DURING a bake — carries the already-transpiled
transpiledBody so the caller can still write it to .needs-hand instead of discarding it for a
bare error stub (issue #3252 review P2). The transpiled DDL is computed BEFORE the first
db.apply can throw and is the expensive, useful artifact; a working-DB failure (a dependent-view
CASCADE, a mid-sequence metadata corruption) must not throw it away. Distinct from a convertMigration
failure (which has no body to preserve and propagates as an ordinary error).
Thrown when the working-DB apply/capture fails DURING a bake — carries the already-transpiled
transpiledBodyso the caller can still write it to.needs-handinstead of discarding it for a bare error stub (issue #3252 review P2). The transpiled DDL is computed BEFORE the firstdb.applycan throw and is the expensive, useful artifact; a working-DB failure (a dependent-view CASCADE, a mid-sequence metadata corruption) must not throw it away. Distinct from aconvertMigrationfailure (which has no body to preserve and propagates as an ordinary error).