onError method

  1. @protected
Future<void> onError(
  1. TEvent event,
  2. dynamic error
)

Hook, which will handle your backend's errors

Implementation

@protected
Future<void> onError(TEvent event, dynamic error) async {}