runBinaryGuarded<T1, T2> method
- void action(
- T1,
- T2
- T1 argument1,
- T2 argument2
Executes the given action with argument1 and argument2 in this
zone and catches synchronous errors.
See runGuarded.
Implementation
void runBinaryGuarded<T1, T2>(
void Function(T1, T2) action,
T1 argument1,
T2 argument2,
) {
try {
return _runBinaryZoned<void, T1, T2>(this, action, argument1, argument2);
} catch (e, s) {
_handleUncaughtErrorZoned(this, e, s);
}
}