Error catcher

Error catcher is one of the error handling methods in Apigee Integration that helps you handle task and event failures encountered during the execution of an integration.

Error catchers work very similar to a sub integration flow within your main integration. Each error catcher can be invoked using a trigger, called the Error catcher trigger, to run the set of configured integration tasks customized to handle the error.

You can define one or more error catchers in a single integration to the handle errors or execution failures at both, the task and event levels.
Error catcher at the task level
Error catchers at the task level handle individual task failures during the execution of your integration.

The following image shows a sample integration flow that uses error catcher at the task level:

image showing error catcher at the task level image showing error catcher at the task level

Error catcher at the event level
Event-level error catchers handle execution failures such as integration failures, edge condition failures, task failures, and retry execution failures. Error catchers at the event level are invoked when you have not defined or attached task-level error catchers to handle any task failures.

The following image shows a sample integration flow that uses error catcher at the event level:

image showing error catcher at the event level image showing error catcher at the event level

For information about how to define and use an error catcher in your integration, see Create the error catcher logic.