This activity allows you to cause an explicit error in the flow (throw an error).
flogo install github.com/project-flogo/contrib/activity/error
Name | Type | Description |
---|---|---|
message | string | The error message |
data | any | The error data |
The below example throws a simple error with a message:
{
"id": "throw_error",
"name": "Throw Error",
"activity": {
"ref": "github.com/project-flogo/contrib/activity/error",
"input": {
"message": "Unexpected Threshold Value"
}
}
}