OnError property

Applies to
TIB_Component

Declaration
Property OnError : TIB_ErrorEvent;

Description
Event to trap an exception about to be generated by the component session as a result of a call to HandleException().

This would be a good place to feed an error log file from.

It is also possible to prevent a Delphi exception from being raised.

Of course, you may also choose to raise your own custom exception class.

Another thing that could be done is to provide alternate text for certain error messages that are anticipated.