# Error Handler

> **Error Handlers** catch exceptions thrown inside a **Sequence,** an **Activity** or **Subprocess**, stop the executions inside, and redirects the executions of the process to recovery. From an **Error Handler**, you can configure to resume the execution, or to end it once the error is fixed. A **Sequence, Activity or Subprocess** can have none, one, or multiple **Error Handlers** as long as the **Exception Type** is different from the others.
:::note
The **Error Handler** activity corresponds to the **Error Boundary Event** element in BPMN.
:::
:::important
You can attach **Error Handlers** to **Sequences, Activities** or **Subprocesses** exclusively.
:::

**Error Handlers** catch exceptions thrown inside a **Sequence,** an **Activity** or **Subprocess**, stop the executions inside, and redirects the executions of the process to recovery. From an **Error Handler**, you can configure to resume the execution, or to end it once the error is fixed. A **Sequence, Activity or Subprocess** can have none, one, or multiple **Error Handlers** as long as the **Exception Type** is different from the others.
:::note
The **Error Handler** activity corresponds to the **Error Boundary Event** element in BPMN.
:::
:::important
You can attach **Error Handlers** to **Sequences, Activities** or **Subprocesses** exclusively.
:::

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-523658-315eee4c.webp)

## Use case

Use the **Error Handler** activity when you:

* Need to catch an error for a single, specific **Sequence or Activity**.
* Have a simple error handling logic that involves one **Sequence or Activity**.

For example, for a Send Invoice Sequence, the **Error Handler**:

* Catches a failure
* Routes the process to either:
  + Retry it, or
  + Notify the finance team and continue execution.

## Properties

Exception Type : The type of the exception you want to handle with this event.

Display name : The name of the **Error Handler** point as you want it to be displayed on the **Long Running Workflow** canvas.

## Link properties

Label : The description that is displayed on the canvas element of the link.

## Managing the Error Handler event

To configure an **Error Handler** event in your process:

1. Select the **Error Handler** and attach it to the desired Sequence, Activity or Subprocess in your canvas.
2. Add activities to handle the error and link them to the **Error Handler**.
3. For the **Exception Type** property, select the type of the exception you want to handle.
4. Optionally, select the canvas element of the error handling path and provide a value to the **Label** property. This helps you describe the error-handling operation.
