Throw error


Configuration interface for actions of type Throw error.

This endpoint allows to abort the current processing chain with an error. The user will then receive an error page when submitting the form. The error code and error message can be set freely.

Parameters

Error code
User defined error code, which can be further used by the variables [%$LAST_ERROR_CODE%]. The use of variables is possible.
error message
User defined error message, which can be further used by the variables [%$LAST_ERROR_MESSAGE%]. The use of variables is possible.
Error data
Data that can be specified as a further hint to the source of the error. The data must be specified in the form of a JSON object. The use of variables is possible.

Action variables

Actions of type Throw error provide Action variables.

Standard action variables

[%$<action name>.SUCCESS%]
Return whether action was successfully executed. Returns Boolean (true/false).
[%$<action name>.RESULT%]
Return all results provided by the action in structured form.
[%$<action name>.ERROR_CODE%]
The error code thrown in case of an error in the action. Empty if no error occurred.
[%$<action name>.ERROR_MESSAGE%]
The thrown error message in the action's error case. Empty if no error occurred.