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
| Type | Name | Description |
|---|---|---|
| flow | In | Enters the try block. |
Outputs
| Type | Name | Description |
|---|---|---|
| flow | try | The branch to attempt. |
| flow | catch | Runs instead if the try branch throws. |
| flow | when done | Runs after either branch. |