OnError Event |
Applies to
TIB_SessionBase
Declaration
TIB_ErrorEvent = Procedure(Sender: TObject; const ERRCODE: longint; ErrorMessage, ErrorCodes: TStringList; const SQLCODE: longint; SQLMessage, SQL: TStringList; var RaiseException: boolean ) of object;
Description
Event used to handle and API errcode returned and customize behavior.
Could be an ideal place to feed error data into an errlog of some kind.