Raise Error is used to throw exceptions and stop flow execution. This component can be used alone or together with the Try-Catch component. When it is used alone and is hit, the flow will stop execution and return an error message. When it is used together with Try-Catch, Try-Catch can capture the exception defined in it and execute the subflow configured in Try-Catch.
None.
Parameter | Data Type | Description | Required | Default Value |
---|---|---|---|---|
Error type | string | Custom error type. | Yes | General error |
Error description | string | Error description. | Yes | None |
You can select an error type in the drop-down list and click Add to add a new error type. Error types are visible in all apps in the project.
None.
The message
output by the component is as detailed below:
message Attribute |
Value |
---|---|
payload | This attribute inherits the payload of the previous component. |
error | error is of dict type and contains the Code and Description fields.The Code field indicates the error type and is represented by an internal code, and the Description field indicates the error description. |
attribute | This attribute inherits the attribute of the previous component. |
variable | This attribute inherits the variable of the previous component. |
Was this page helpful?