aras.AlertError Method
Shows error message with stylish dialog.Syntax
aras.AlertError(errorMessage,technicalErrorMessage,stackTrace,argwin)Parameters
Name | Type | Description |
---|---|---|
errorMessage | String or Object | Required. The text to show in error dialog. If passing an object, the method will try to get error message from it. |
technicalErrorMessage | String | Optional. Technical message to show in details of error dialog. |
stackTrace | String | Optional. Stack trace to show in details of error dialog. |
argwin | Object | Optional. The window to display error dialog. Default is current window. |
Return Value
A Promise object.See Also
aras ObjectAras Innovator Client Framework
Comments
Post a Comment