onError<TEvent> abstract method

void onError<TEvent>(
  1. TEvent event,
  2. EventHandler handler,
  3. Object error,
  4. StackTrace stackTrace,
)

When the event is failed by the handler the error contains the exception object.

Implementation

void onError<TEvent>(
  TEvent event,
  EventHandler handler,
  Object error,
  StackTrace stackTrace,
);