O coletor de erros é um dos métodos de tratamento de erros na Application Integration que ajuda a lidar com falhas de tarefas e eventos encontrados durante a execução de uma integração.
Os coletores de erros funcionam de maneira muito semelhante a um fluxo de subintegração na sua integração principal. Cada coletor de erros pode ser invocado usando um gatilho, chamado gatilho do Coletor de erros, para executar o conjunto de tarefas de integração
personalizadas para lidar com o erro.
É possível definir um ou mais coletores de erros em uma única integração para lidar com erros ou falhas de execução nos níveis da tarefa e do evento.
Coletor de erros no nível da tarefa
Os coletores de erros no nível da tarefa lidam com falhas de tarefas individuais durante a execução da integração.
A imagem a seguir mostra um exemplo de fluxo de integração que usa o coletor de erros no nível da tarefa:
Coletor de erros no nível do evento
Os coletores de erros no nível do evento lidam com falhas de execução, como falhas de integração, de condição de borda, de tarefas e de repetição. Os coletores de erros no nível do evento são invocados quando você não definiu ou anexou coletores de erros no nível da tarefa para lidar com falhas da tarefa.
A imagem a seguir mostra um exemplo de fluxo de integração que usa o coletor de erros no nível do evento:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-03 UTC."],[[["\u003cp\u003eApplication Integration uses error catchers to manage task and event failures during integration execution.\u003c/p\u003e\n"],["\u003cp\u003eError catchers function like sub-integration flows, triggered to execute a set of tasks designed for error handling.\u003c/p\u003e\n"],["\u003cp\u003eError catchers can be defined at the task level to manage individual task failures during integration execution.\u003c/p\u003e\n"],["\u003cp\u003eEvent-level error catchers handle broader execution failures such as integration or task failures, when no task-level error catchers are configured.\u003c/p\u003e\n"],["\u003cp\u003eError catchers cannot be nested, meaning one error catcher cannot call another error catcher.\u003c/p\u003e\n"]]],[],null,["# Error catcher\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nError catcher\n=============\n\nError catcher is one of the error handling methods in Application Integration that helps you handle task and event failures encountered during the execution of an integration.\n\n\nError 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](/application-integration/docs/configure-error-catcher-trigger) trigger, to run the set of configured\n[integration tasks](/application-integration/docs/how-to-guides#configure-integration-tasks)\ncustomized to handle the error.\n| **Note:** Error catchers can't be nested. You cannot define an error catcher that in turn calls another error catcher using a different Error catcher trigger in your integration.\nYou 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.\n\nError catcher at the task level\n-------------------------------\n\nError catchers at the task level handle individual task failures during the execution of your integration.\n\nThe following image shows a sample integration flow that uses error catcher at the task level:\n\n\n\u003cbr /\u003e\n\nError catcher at the event level\n--------------------------------\n\nEvent-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.\n\nThe following image shows a sample integration flow that uses error catcher at the event level:\n\n\n\u003cbr /\u003e\n\nFor information about how to define and use an error catcher in your integration, see [Create the error catcher logic](/application-integration/docs/configure-error-catcher-trigger#logic)."]]