onError method

  1. @override
  2. @mustCallSuper
void onError(
  1. Object error,
  2. StackTrace stackTrace
)
override

You can describe the process when runZonedGuarded is set to true.

The object in which the error occurred is passed to error and stackTrace.

runZonedGuardedtrueにした場合の処理を記述することができます。

errorstackTraceにエラーが起きた際のオブジェクトが渡されます。

Implementation

@override
@mustCallSuper
void onError(Object error, StackTrace stackTrace) {
  for (final tmp in masamuneAdapters) {
    tmp.onError(error, stackTrace);
  }
}