mapApplyException abstract method

FdcDataApplyError mapApplyException(
  1. FdcChangeSetEntry entry,
  2. Object error, {
  3. required FdcDataApplyOperation operation,
})

Converts an adapter/backend exception raised while applying one change entry into a structured row-level apply error.

FdcDataAdapter provides a generic adapter_error implementation. Writable adapters should override it only to preserve backend-specific diagnostics such as SQL/constraint error codes. The dataset uses the returned error to populate dataset errors and UI components such as grids can present it without knowing the backend type.

Implementation

FdcDataApplyError mapApplyException(
  FdcChangeSetEntry entry,
  Object error, {
  required FdcDataApplyOperation operation,
});