Hook, which will handle your backend's errors
@protected Future<void> onError(TEvent event, dynamic error) async {}