[][src]Function dart_sys::Dart_NewUnhandledExceptionError

pub unsafe extern "C" fn Dart_NewUnhandledExceptionError(
    exception: Dart_Handle
) -> Dart_Handle

Produces a new unhandled exception error handle.

Requires there to be a current isolate.

\param exception An instance of a Dart object to be thrown or an ApiError or CompilationError handle. When an ApiError or CompilationError handle is passed in a string object of the error message is created and it becomes the Dart object to be thrown.