ReportException
Description
Reports an exception. The exception can be displayed to the user or written to the event log.
Syntax
// ICommonFunctions is binded into the MFiles global object
const result = await MFiles.ReportException(exception);
Parameters
| Name | Optionality | Type | Description | 
|---|---|---|---|
| exception | Required | string | MFError | The exception to report. | 
Return type
| Type | Description | 
|---|---|
Promise < number > | Returns Dialog Instance. |