Skip to main content

Generate Error

The Generate Error activity throws a structured error to halt or redirect workflow execution.

Configuring the Generate Error Activity

To configure the Generate Error activity, fill in the required fields in the activity panel.

Configuration

FieldRequiredDescriptionExample
NameRequiredSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
Error CodeOptionalSpecify the error code for this activity.Error Code for the Generated Error
Error MessageOptionalSpecify the error message for this activity.Error Message for the Generated Error

Input

FieldRequiredData TypeDescriptionExample
Error CodeOptionalStringError Code for the Generated Error
Error MessageOptionalStringError Message for the Generated Error
DetailsOptionalObject