User Tools

Site Tools


macros:function:menu.errorreport

Function

Menu.ErrorReport

Void Menu.ErrorReport(String menuId, String message)
API http://api.avolites.com/11.0/Menu.ErrorReport.html
description Handler for the base Menu Exception. Just displays a message on screen and waits for confirmation.
namespace Menu
parameter menuId ( String ) : The ID of a menu to display the error to the user in.
While there are many menus in Titan, the most common menuId for this purpose is 'Error.Generic' which is the general purpose message prompt.
message ( String ) : Message to display in the prompt.
return value Void

This inherently sets Menu.ErrorMessage = message so that it can be displayed again with Menu.PushOrReloadMenu(“Error.Generic”)

Example in

Show a message prompt:

<step>Menu.ErrorReport('Error.Generic', "Welcome to the world of macros!")</step>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/menu.errorreport.txt · Last modified: 2018/09/16 15:21 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki