# Exception Nodes
# Node: Catch
Catch node is used for capturing the exceptions from the flow. Project may contains as many catch nodes as required.
It is good practice that each project has at least one Catch node with 'all nodes' interceptor.
# Properties
Catch errors from
- allows selection of all nodes or specific nodes whose exceptions to be intercepted by this node.All nodes
: If the catch node is configured with all nodes option selected then all the exception that is triggered at any point in the flow is captured.Selected nodes
: If the catch node is s configured with Selected nodesoption selected then only those exceptions triggered from the selected node in the flow is captured.
Error details are stored in msg.error
.
Only one Catch
node is called when exception occurs. If Catch
node is defined for node that triggered exception then this Catch
node is executed. In last resort the Catch
with all nodes
will be called if none of the other Catch
nodes have selected faulty node.
Flow can contain only one Catch
node with 'all nodes' selected.
If multiple Catch
nodes are defined for specific node, only one of them will be triggered, determined by runtime.
Use EventListener End
node to return specific error code (status) and error message.
TIP
Always provide proper 'Display Name' for each node in the project. This allows easier selection of nodes to capture exceptions from.
# Example:
← Transformation AWS →