User Tools

Site Tools


macros:function:menu.errorreport

This is an old revision of the document!


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
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.1537110753.txt.gz · Last modified: 2018/09/16 15:12 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki