onError method

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

Handles the error.

Implementation

@protected
void onError(Object error, StackTrace stackTrace) =>
    doError(error, stackTrace);