SUIT Framework

Scripting Using Integrated Templates

Docs - try

12/27/2015: SUIT Framework is no longer actively maintained.

Available Since: Rulebox (1.0.0)

Try to walk and handle exceptions.

Syntax [try ( var="str" )]string[/assign]
Parameters
string

The string to attempt walking through.

var

The name of the variable to set the exception to. (Default: null. Nothing will be set.)

Static Variables
delimiter

The string that separates the levels of the variable. (Default: ".")

owner

The object to set the variable on. (Default: templating.var)

Output

The regular output if no exception is thrown. Otherwise, it will collapse and store the exception into the provided variable.

Config Notes
See Also