Penangkap error adalah salah satu metode penanganan error di Integrasi Aplikasi yang membantu Anda menangani kegagalan tugas dan peristiwa yang terjadi selama eksekusi integrasi.
Penangkap error berfungsi sangat mirip dengan alur sub-integrasi dalam integrasi utama Anda. Setiap penangkap error dapat dipanggil menggunakan pemicu, yang disebut pemicu Penangkap error, untuk menjalankan kumpulan tugas integrasi yang dikonfigurasi dan disesuaikan untuk menangani error.
Anda dapat menentukan satu atau beberapa error catcher dalam satu integrasi untuk menangani error atau kegagalan eksekusi di tingkat tugas dan peristiwa.
Penangkap error di tingkat tugas
Penangkap error di tingkat tugas menangani kegagalan tugas individual selama eksekusi integrasi Anda.
Gambar berikut menunjukkan contoh alur integrasi yang menggunakan error catcher di tingkat tugas:
Penangkap error di tingkat peristiwa
Penangkap error tingkat peristiwa menangani kegagalan eksekusi seperti kegagalan integrasi, kegagalan kondisi edge, kegagalan tugas, dan kegagalan eksekusi percobaan ulang. Penangkap error di tingkat peristiwa dipanggil saat Anda belum menentukan atau melampirkan penangkap error tingkat tugas untuk menangani kegagalan tugas.
Gambar berikut menunjukkan contoh alur integrasi yang menggunakan error catcher di tingkat peristiwa:
Untuk informasi tentang cara menentukan dan menggunakan error catcher dalam integrasi Anda, lihat Membuat logika error catcher.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]