setExceptionPauseMode method Null safety
- @Deprecated('Use setIsolatePauseMode instead')
Deprecated('Use setIsolatePauseMode instead')">@Deprecated('Use setIsolatePauseMode instead')
The setExceptionPauseMode
RPC is used to control if an isolate pauses
when an exception is thrown.
mode | meaning |
---|---|
None | Do not pause isolate on thrown exceptions |
Unhandled | Pause isolate on unhandled exceptions |
All | Pause isolate on all thrown exceptions |
If isolateId
refers to an isolate which has exited, then the Collected
Sentinel is returned.
This method will throw a SentinelException in the case a Sentinel is returned.
Implementation
@Deprecated('Use setIsolatePauseMode instead')
Future<Success> setExceptionPauseMode(
String isolateId, /*ExceptionPauseMode*/ String mode);