Build Error Cluster
- 更新时间2023-02-17
- 阅读时长3分钟
Build Error Cluster
Creates an error cluster that contains an error or warning with a description and location information. Use this node to return an error or warning that you define or to handle return values you receive from a shared library call.
Inputs/Outputs

make warning
A Boolean that specifies whether the error cluster built contains an error or a warning.
| True | Creates an error cluster that contains a warning. |
| False | Creates an error cluster that contains an error. |
Default value: False
Effect on Execution When You Change an Error to a Warning
Some nodes that halt execution when an error occurs will execute normally if you change an error to a warning.

include call chain
A Boolean that specifies whether to include the call chain from the location at which the error or warning occurred to the top-level VI in the source string of the error cluster.
| True | Includes the call chain in the source string of the error cluster. |
| False | Only includes the calling VI in the source string of the error cluster. |
Default value: True

error in
An error cluster that you use to check for errors or warnings that occur before this node executes. If error in contains an error or warning, this node ignores all other values and error out is error in unchanged.

code
The error or warning code you want to write.

description
The description for the code that appears in the error cluster.
Programming Patterns
Use Display Error or Generate Error Report to see the description that an error cluster contains.

error out
The error cluster created by this node.