Application.OnErrorEvent Event

This event is fired when an error occurs. By returning true for the override parameter, the integration can tell HotDocs not to display any user interface indicating that an error occurred, which allows the integration to either display its own error message or silently handle the error.

Syntax

void OnErrorEvent ( int errCode, string errMesg, out bool override )

Parameters Description
errcode Numerical error code.
errmesg Text description of error.
override Return parameter:
  • *override == true means HotDocs will not display any user interface indicating that an error occurred.
  • *override == false means that HotDocs will display the normal error notification.