Try/Catch
Runs the steps you connect to try; if one fails, the flow goes on through catch instead of failing.
Settings
This node has no settings.
Output
| Field | Type |
|---|---|
error | object |
error.code | string |
error.message | string |
nodeFailed step | object |
node.labelFailed step name | string |
Sample output, and the expression for each field
- error
- code"HTTP_404"
- message"Not found"
- node
- id"n_http"
- label"Get order"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {},
"label": "Try/Catch",
"type": "core.tryCatch",
"version": 1
}