- better code generator - https://github.com/oven-sh/bun/pull/15100 - https://github.com/oven-sh/bun/pull/15120 - https://github.com/oven-sh/bun/pull/15127 - https://github.com/oven-sh/bun/pull/15128 - replace `orelse return null` with `try` - replace `catch return null` with `try` (done in 15120) - make `JSValue.get()` return a possible JSError - make `JSValue.toZigString()` return a possible JSError - make `globalThis.throw*` return a JSError - when done, audit all `globalThis.hasException()` calls for redundancy - audit all `fromJS()` functions to return possible JSError - make `globalThis.ERR_*().throw()` return a JSError more to come
ExceptionRefin zig #15100orelse return nullwithtrycatch return nullwithtry(done in 15120)JSValue.get()return a possible JSErrorJSValue.toZigString()return a possible JSErrorglobalThis.throw*return a JSErrorglobalThis.hasException()calls for redundancyfromJS()functions to return possible JSErrorglobalThis.ERR_*().throw()return a JSErrormore to come