Error handler
The error handler is a specialized flow step that executes when errors occur within the flow process.
Overview
Section titled “Overview”When an error handler is configured, it processes the output from the step that encountered an error, with the error details contained in an error field.
Steps undergo retry attempts until they either succeed or exhaust the maximum retry count specified in their configuration. Once retries are depleted, the error handler activates.
Supported languages
Section titled “Supported languages”Error handler scripts can be written in:
- Python
- TypeScript
- Go
Hub examples
Section titled “Hub examples”Two pre-built error handler examples are available on the Orvanta Hub:
- Slack error handler: sends a message to a Slack channel when an error occurs.
- Discord error handler: sends a message to a Discord channel when an error occurs.
Use case example
Section titled “Use case example”A practical application involves workflows designed to automatically populate CRM details from email sources. In this scenario, an error handler was implemented to ensure email data still gets added to the CRM even if errors occur during processing, preventing the loss of contact information.