◐ Shell
clean mode source ↗

Fix error descriptions Embedded Swift compatibility by MaxDesiatov · Pull Request #759 · swiftwasm/JavaScriptKit

The BridgeJS generator emits `JSError(message: String(describing: error))` for throwing `@JS` exports, but `String.init(describing:)` is unavailable in Embedded Swift, so embedded Wasm builds of any package with a throwing export fail. The caught error is statically a `JSException` with a stored `description`, so the generated glue now uses `error.description` for identical output. Snapshots regenerated.

@MaxDesiatov