User Tools

Site Tools


macros:function:menu.errorreport

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:function:menu.errorreport [2018/09/16 15:05] – created icke_siegenmacros:function:menu.errorreport [2018/09/16 15:21] (current) icke_siegen
Line 4: Line 4:
  
   Void Menu.ErrorReport(String menuId, String message)   Void Menu.ErrorReport(String menuId, String message)
-  +
 ^ API | http://api.avolites.com/11.0/Menu.ErrorReport.html | ^ 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. | ^ description | Handler for the base Menu Exception. Just displays a message on screen and waits for confirmation. |
 ^ [[macros:namespace|namespace]] | [[macros:namespace:menu]] | ^ [[macros:namespace|namespace]] | [[macros:namespace:menu]] |
-^ parameter | menuId ( [[macros:type:string]] ) : The ID of a menu to display the error to the user in. |+^ parameter | menuId ( [[macros:type: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 ( [[macros:type:string]] ) : Message to display in the prompt. | ^ ::: | message ( [[macros:type:string]] ) : Message to display in the prompt. |
 ^ return value | [[macros:type:void]] |   ^ return value | [[macros:type:void]] |  
 +
 +This inherently sets [[macros:property:menu.errormessage]] = message so that it can be displayed again with ''[[macros:function:Menu.PushOrReloadMenu]]("Error.Generic")''
  
 == Example in ==  == Example in == 
macros/function/menu.errorreport.1537110313.txt.gz · Last modified: 2018/09/16 15:05 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki