# Error transformer

**URL:** <https://forum.alumio.com/t/error-transformer/1063>\
**Category:** Transformers\
**Created:** [April 3, 2024, 2:02pm UTC](https://forum.alumio.com/t/error-transformer/1063 "2024-04-03T14:02:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![o.plokha](https://forum.alumio.com/user_avatar/forum.alumio.com/o.plokha/32/337_2.png) [@o.plokha](https://forum.alumio.com/u/o.plokha)\
**Post date:** [April 3, 2024, 2:02pm UTC](https://forum.alumio.com/t/error-transformer/1063/1 "2024-04-03T14:02:47Z")

</div>

### Table of contents

- General description
- A key part of the Exception Transformer

### **General description**

The Error Transformer can be used to manually interrupt a route when certain conditions are met. This is useful when combined with a [Conditional Transformer](https://forum.alumio.com/t/conditional-transformer/274), for example, when the data contains certain values or when certain data is absent or otherwise invalid.

### **A key part of the Exception Transformer**

**Message** **(required field)**

This specifies the message that will be added to the log when the Transformer is executed.

Here’s a step-by-step guide on how to abort the transformer with the rest of the chain:

Step 1: Create Entity transformer and select “Data, transform data using mappers and conditions”.

Step 2: Select “Error transformer” in the “Data transformer” field.

Step 3: After that, input an exception message that will throw when something goes wrong during the execution of the transformer. It’s also possible to use the Exception message field as a placeholder: &{}”, and other placeholders to make the error message dynamic.

Step 4: Run the transformer. Once the transformer is executed, all related configurations and transformers will be stopped once an error occurs sending the exception message in the Logs tab.

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/a/a67eacdea6e038c38d14fc2a86cdfb59871c352c.jpeg)
