Assembly.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 error messages, allowing the integration to either display its own error message or deal with the error silently.

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 that HotDocs will not display any user interface indicating that an error occurred.
  • *override == false means that HotDocs will display the normal error notification.