Control Flow

Try / Catch

Runs a branch, and diverts to a second one if it throws.

In
Try / Catch
try
catch
when done
Node image coming soon

Usage

Put the risky work on the try output. If a Throw node fires anywhere down that chain, the rest of it is abandoned and the catch branch runs instead. The third output runs afterwards either way. The node does not hand you the error message — it only tells you that something failed.

Inputs

TypeNameDescription
flowIn Enters the try block.

Outputs

TypeNameDescription
flowtry The branch to attempt.
flowcatch Runs instead if the try branch throws.
flowwhen done Runs after either branch.