onError method
You can describe the process when runZonedGuarded is set to true
.
The object in which the error occurred is passed to error
and stackTrace
.
runZonedGuardedをtrue
にした場合の処理を記述することができます。
error
とstackTrace
にエラーが起きた際のオブジェクトが渡されます。
Implementation
@override
@mustCallSuper
void onError(Object error, StackTrace stackTrace) {
for (final tmp in masamuneAdapters) {
tmp.onError(error, stackTrace);
}
}