This type is used for the TOraErrorHandler.OnError event.
Unit
OraErrHand
Syntax
TOnOraErrorEvent = procedure (Sender: TObject; E: Exception; ErrorCode: integer; const ConstraintName: string; var Msg: string) of object;
Parameters
Sender
An object that raised the event.
E
Holds the reference to an exception object.
ErrorCode
The code of an error.
ConstraintName
Holds the name of the constraint that raised the error.
Msg
Holds the error message (can be set individually).