onPersistBatchFailure method

  1. @protected
Future<void> onPersistBatchFailure(
  1. List<Event> events,
  2. dynamic error
)
inherited

Called when batch event persistence fails Override to handle batch persistence failures

Implementation

@protected
Future<void> onPersistBatchFailure(List<Event> events, dynamic error) async {
  // Default: log error (in production, use proper logging)
  print('Batch event persistence failed for ${_persistenceId}: $error');
}