Sign in Join
FPDoc Onlineexperiment

IProviderSupport.PSGetUpdateException function

Member of IProviderSupportIn unit DB

Transform exception to UpdateError.

Declaration

pascal
function PSGetUpdateException(E: Exception; Prev: EUpdateError)
: EUpdateError

Arguments

E

The originally raised exception.

Prev

The previous exception in the applyupdates batch (can be nil).

Function result

The new EUpdateErrorexception.

Description

PSGetUpdateException is called to transform and chain exceptions that occur during an ApplyUpdates operation. The exception E must be transformed to an EUpdateError exception. The previous EUpdateError exception in the update batch is passed in Prev.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.