OnShowException

Callback to show unhandled exceptions.

Declaration

Source position: sysutilh.inc line 273

var
  OnShowException : procedure(Msg: ShortString);

Description

OnShowException is the callback that ShowException uses to display a message in a GUI application. For GUI applications, this variable should always be set. Note that no memory may be available when this callback is called, so the callback should already have all resources it needs, when the callback is set.

See also

Name Description
ExceptionErrorMessage Return a message describing the exception.
ShowException Show the current exception to the user.