runUnaryGuarded<T> method
- void action(
- T
- T argument
Executes the given action with argument in this zone and
catches synchronous errors.
See runGuarded.
Implementation
void runUnaryGuarded<T>(void Function(T) action, T argument) {
try {
return _runUnaryZoned<void, T>(this, action, argument);
} catch (e, s) {
_handleUncaughtErrorZoned(this, e, s);
}
}