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
Dart 3.5.4 does not expose
_JavaScriptErrorwhen compile to wasm, so errors generated by the browser cannot be properly handled.Instead we'll throw
UnknownErroras a temporary workaround to handle_JavaScriptErrorwithinpackage:wepcrypto.See also: dart-lang/sdk#55496