ODAC

TOnOraErrorEvent Procedure Reference

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).
© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback