%LastErrorMsg%

If an error is generated at run time, this variable is set to the "simple" error message for the last action that was performed (the action that generated the error).

When an action doesn't generate an error, this variable is empty ("").

 SEE ALSO 

 

 

 

?

For a complete list of the simple error messages which can be generated by an action, see that action's help topic in the Command Reference.