> [!CAUTION]
> **Caution:** The behavior of this routine might change, and it might not be supported in the future.

Raised when a workflow execution finishes with an error or is cancelled.

## Arguments

| Arguments ||
|---|---|
| `execution` | A workflow `Execution` object. |

## Returns

A dictionary object with an `ExecutionError` tag.