Display Error

Opens a dialog that displays details if an error or warning occurs. This node does nothing if no error or warning occurs.

1378

Inputs/Outputs

datatype_icon

error in

An error cluster that you use to check for errors or warnings.

datatype_icon

type of dialog

Type of dialog box to display, if any.

Regardless of this value, this node returns the error information and a message describing the error.

no dialog

Displays no dialog box. This is useful if you want to have programmatic control over handling errors.

OK message

Displays a dialog box with a single OK button if an error occurs. After the user clicks OK, this node returns control to the main diagram.

continue or stop message

Displays a dialog box with buttons if an error occurs. The buttons either continue or stop execution.

OK message + warnings

Displays a dialog box with a single OK button if an error or warning occurs. After the user clicks OK, this node returns control to the main diagram.

continue/stop + warnings

Displays a dialog box with buttons if an error or warning occurs. The buttons either continue or stop execution.

Default value: OK message

datatype_icon

error?

A Boolean that indicates if an error occurred.

True An error occurred.
False A warning occurred or no error or warning occurred.
datatype_icon

code

The error or warning code.

If error? is True, code is an error code. If error? is False, code is 0 or a warning code.
datatype_icon

location

A string describing where the error or warning occurred.

This string is empty if the error cluster contains no location information. If the error cluster contains a call chain, this node returns the call chain formatted as a single, multiline string.
datatype_icon

description

The human-readable error description of the error cluster.

If there is no error, this is No error.