setGenericFailedMessage()
Sets a generic error message that is displayed when an error occurs.
Returns
Not applicable.
Parameters
This API does not have parameters.
Usage example
In this example, the API sets Failed to load preview as a generic error message that will be displayed when an error occurs.
PCore.getErrorHandler().setGenericFailedMessage('Failed to load preview');
Previous topic getGenericFailedMessage() Next topic APIs in the Events module