uncaughtError property

RemoteError? get uncaughtError

The uncaught error that terminated the spawned isolate, or null.

When set, exitCode completes with uncaughtErrorExitCode.

Implementation

RemoteError? get uncaughtError => _uncaughtError;