Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to handle JavaScriptError when running dart2wasm #182

Open
koji-1009 opened this issue Dec 3, 2024 · 0 comments
Open

Unable to handle JavaScriptError when running dart2wasm #182

koji-1009 opened this issue Dec 3, 2024 · 0 comments

Comments

@koji-1009
Copy link
Contributor

koji-1009 commented Dec 3, 2024

Dart 3.5.4 does not expose _JavaScriptError when compile to wasm, so errors generated by the browser cannot be properly handled.
Instead we'll throw UnknownError as a temporary workaround to handle _JavaScriptError within package:wepcrypto.

See also: dart-lang/sdk#55496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant