dynamic runGuarded(dynamic fn())

Same as #run, except that synchronous errors are caught and forwarded via onError and not rethrown.

Source

dynamic/*=R*/ runGuarded/*<R>*/(/*=R*/ fn()) {
  return this._zoneImpl.runInnerGuarded(fn);
}