Parent
Scope
Implement the three shared pinned AggregateError bridges:
JSC__JSGlobalObject__createAggregateError from an encoded error slice and ZigString message.
JSC__JSGlobalObject__createAggregateErrorWithArray from an existing exact JSArray, by-value BunString message, and optional cause.
JSC__JSValue__getErrorsProperty as a direct own-property read that bypasses mutable prototypes/getters.
Acceptance
Completion evidence
Implemented on main in 454b9d5e; README and ABI documentation published in ff808cd9.
- Slice construction preserves order and exact value identity in a fresh selected-realm errors array.
- Existing-array construction preserves the exact array and optional cause identities.
- Tagged ZigString and by-value BunString messages cover astral and lone-surrogate text.
- message/errors/cause descriptors are writable, non-enumerable, and configurable; AggregateError classification uses immutable metadata.
- Direct errors reads bypass prototypes; siblings, foreign inputs, invalid arrays, failure atomicity, and first exceptions are covered.
zig build test-home-private-abi -Doptimize=Debug passes 103/103 symbols.
- Home audit: 105/431 implemented, 326 pending. Bun core audit: 98/421 implemented, 323 pending.
Parent
Scope
Implement the three shared pinned AggregateError bridges:
JSC__JSGlobalObject__createAggregateErrorfrom an encoded error slice and ZigString message.JSC__JSGlobalObject__createAggregateErrorWithArrayfrom an existing exact JSArray, by-value BunString message, and optional cause.JSC__JSValue__getErrorsPropertyas a direct own-property read that bypasses mutable prototypes/getters.Acceptance
Completion evidence
Implemented on
mainin454b9d5e; README and ABI documentation published inff808cd9.zig build test-home-private-abi -Doptimize=Debugpasses 103/103 symbols.