Defines an action Failure Handler component.
Failure handlers can be used to handle possible Action failures such as network errors when calling a Sequence. To use a Failure Handler, place it immediately under a given Action. In case of failure of this action, all actions placed under the Failure Handler will be executed.For example, you can use there a Toast action to display an error message
Failure Handler will generate an out error object containing a message property holding the error message. For example, you can use the out.message in (TS) mode in a Toast action to display the error message.
By default, Handling failures will not prevent Actions under the failed Action from being executed. If you want to cancel any other action execution, place an Error action in the Failure Handler action chain.
Name | Description |
---|---|
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Is active | Defines whether the component is active. |