Table of Contents

Catch Error

Block Group: Logic
Icon:Catch Error block icon

Monitors the errors from all of the dataflow blocks that are assigned to its error group, and it returns the latest error from this group. This is useful when you want to design a single error dialog for more than one error source. The string held by each block's errorGroup property determines which blocks are in the error group.

For information on using dataflow blocks, see Dataflow.


Input/Output Properties

This property can take input and give output.

errorGroup is the string that identifies the error group. Must match the errorGroup property on all dataflow blocks that you want this Catch Error block to monitor.


Output Properties

This property can give output. It cannot take input.

error returns the most recent error encountered by any of the blocks in the error group.


Model

This is a basic use of the block.

Dataflow Model Description
Catch Error block model One of the String Loader blocks in "errorGroupA" encounters an error because its path is invalid. As a result, the error property of the Catch Error block returns the same message as the block that encountered the error.