pub unsafe fn propagate_error(handle: Dart_Handle)
Expand description

Propagates the given Dart error to the Dart side.

If the provided Dart_Handle is an unhandled exception error, then it will be rethrown in the standard way: walking up Dart frames until an appropriate catch block is found, than executing finally blocks, and so on.

Safety

Intended to be called ONLY with NativeApi.initializeApiDLData from Dart.

initialize_api must be called before this function.