onError method

void onError(
  1. Object? error,
  2. StackTrace stackTrace
)

Implementation

void onError(Object? error, StackTrace stackTrace) {
  ActivationConfigHolder.lastActivationConfig = null;
  if (error != null) {
    throw error;
  }
}