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 | Type | Description |
---|---|---|
exception | string | MFError | The exception to report. |
Return type
Type | Description |
---|---|
Promise < any > | Returns Dialog Instance. |