Displays the given errorMsg in a dialog. The dialog displays the errorMsg parameter as the primary error message and provides a “Show Details” button which expands the dialog to display the errorDetails parameter.
Note: This call is not blocking and returns before the user responds to dialog.
Syntax
showErrorMessage(errorMsg, errorDetails);
Parameters
errorMsg (String) The string to display as the primary error message.
errorDetails (String) If this string is not null and not empty, a “Show Details” button is displayed, that when clicked, expands to show error details (exception/stack trace) in a scrollable text area.