Skip to main content
Version: V3 (Ignition 8.3)

tamaki.mes.utils.showErrorPopupMessage

Description

Opens the standard TamakiMES/_popups/Error modal popup showing a custom message instead of a traceback. Use this to surface a known, user-friendly error message rather than a raw stack trace.

Must be run in a Perspective session scope.

Syntax

tamaki.mes.utils.showErrorPopupMessage(message, popupTitle="Error")

Parameters

ParameterTypeNullableDescription
messageStringFalseThe message to display in the popup.
popupTitleStringTrueThe popup window title. Defaults to "Error".

Returns

This method does not return a value. It opens the Error popup as a side effect.

Code Examples

# Surface a known, user-friendly message instead of a stack trace
if file_type != 'zip':
tamaki.mes.utils.showErrorPopupMessage("Unsupported file type")
return