Occurs on error while MySQL operation is executed by Execute
Syntax:
type TErrorEvent = procedure(TableName,ErrorMessage: String) of object;
OnError: TErrorEvent;
Description:
Create OnError event handler to get information about MySQL operation errors.
TableName
Contains the name of the table which was in prosessind when an error occurs;
ErrorMessage
Contains error message text.