You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message (str): The message to display in an error box. This will be
translated to the selected Locale.
title (str): A title for the error box. This will be translated to the
selected Locale. Optional. Defaults to "Error".
detail (str): Additional text to display. This will be translated to the
selected Locale. Optional.
Code Examples
importsystem.utilfromincendium.visionimportguigui.error("An error occurred!")
# Change Locale to es_MXsystem.util.setLocale("es_MX")
gui.error("An error occurred!")
# Assuming we have added translations for the provided terms# this would produce an Error message reading the following:# Title: Error# Message: ¡Ha ocurrido un error!