action:Try_or_Catch
**This is an old revision of the document!**
Table of Contents
Try/Catch Action
The Try/Catch action (v10.0+) allows you to execute a sequence of actions and catch any failure. If any action in the Try sequence would abort the macro, the macro instead continues executing the Catch section, setting the Action Result, available in the %ActionResult% token or Action Result condition.
If the actions in the Try sequence execute to completion, the Catch sequence is not executed.
If an action in the Catch sequence aborts, the macro aborts as usual.
You can explicitly throw an error using the Throw action.
See Also
Actions
Tokens
- ActionResult token
Conditions
- Action_Result action
action/Try_or_Catch.1634025972.txt.gz · Last modified: by peternlewis
