onError property
(dynamic Function(ExecutionContext context, dynamic error, StackTrace stackTrace)?)
onError
finalinherited
The callback when this process is stopped due to exception
Implementation
final Function(
ExecutionContext context,
dynamic error,
StackTrace stackTrace,
)? onError;