OkfWriteRollbackException constructor

OkfWriteRollbackException({
  1. required Object writeError,
  2. required Iterable<Object> rollbackErrors,
})

Creates a rollback failure that retains both the write and recovery errors.

Implementation

OkfWriteRollbackException({
  required this.writeError,
  required Iterable<Object> rollbackErrors,
}) : rollbackErrors = List<Object>.unmodifiable(rollbackErrors);