[][src]Function dart_sys::Dart_SetStickyError

pub unsafe extern "C" fn Dart_SetStickyError(error: Dart_Handle)

Called when the embedder has caught a top level unhandled exception error in the current isolate.

NOTE: It is illegal to call this twice on the same isolate without first clearing the sticky error to null.

\param error The unhandled exception error.