<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Error_Cluster_From_Error_Code_function</id>
	<title>Error Cluster From Error Code function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Error_Cluster_From_Error_Code_function"/>
	<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Error_Cluster_From_Error_Code_function&amp;action=history"/>
	<updated>2026-04-22T18:38:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Error_Cluster_From_Error_Code_function&amp;diff=30918&amp;oldid=prev</id>
		<title>Logmanoriginal: /* See also */ Add link to Error Ring</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Error_Cluster_From_Error_Code_function&amp;diff=30918&amp;oldid=prev"/>
		<updated>2021-01-18T17:54:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt; Add link to Error Ring&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:54, 18 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[Default Error Code]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[Default Error Code]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[Custom Error Code]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[Custom Error Code]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[[Error Ring]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== External links ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== External links ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Logmanoriginal</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Error_Cluster_From_Error_Code_function&amp;diff=30917&amp;oldid=prev</id>
		<title>Logmanoriginal: Add new page</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Error_Cluster_From_Error_Code_function&amp;diff=30917&amp;oldid=prev"/>
		<updated>2021-01-18T17:52:01Z</updated>

		<summary type="html">&lt;p&gt;Add new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TOCright}}&lt;br /&gt;
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Dialog &amp;amp; User Interface{{!}}Dialog &amp;amp; User Interface palette|type=vi|icon=Dialog &amp;amp; User Interface Palette - Error Cluster From Error Code.png}}&lt;br /&gt;
[[File:Error Cluster From Error Code - Terminals.png|thumb|Error Cluster From Error Code function]]&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Error Cluster From Error Code&amp;#039;&amp;#039;&amp;#039; function builds an [[Error Cluster data type|error cluster]] from an error code.&lt;br /&gt;
&lt;br /&gt;
== Uses ==&lt;br /&gt;
Set the input terminal &amp;#039;&amp;#039;&amp;#039;error code&amp;#039;&amp;#039;&amp;#039; to zero in order to return the value of the &amp;#039;&amp;#039;&amp;#039;error in&amp;#039;&amp;#039;&amp;#039; input terminal (no error by default). This is useful in situations where zero indicates a passed state.&lt;br /&gt;
&lt;br /&gt;
[[File:Error Cluster From Error Code - Error 0.png]]&lt;br /&gt;
&lt;br /&gt;
Set the input terminal &amp;#039;&amp;#039;&amp;#039;error code&amp;#039;&amp;#039;&amp;#039; to a &amp;lt;u&amp;gt;non-zero&amp;lt;/u&amp;gt; value to generate an error if the status of the &amp;#039;&amp;#039;&amp;#039;error in&amp;#039;&amp;#039;&amp;#039; input terminal is &amp;#039;&amp;#039;false&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
[[File:Error Cluster From Error Code - Non-Zero Error.png]]&lt;br /&gt;
&lt;br /&gt;
Use the &amp;#039;&amp;#039;&amp;#039;error message&amp;#039;&amp;#039;&amp;#039; input terminal to specify a custom error message (empty by default).&lt;br /&gt;
&lt;br /&gt;
[[File:Error Cluster From Error Code - Error With Error Message.png]]&lt;br /&gt;
&lt;br /&gt;
Set &amp;#039;&amp;#039;&amp;#039;show call chain?&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;true&amp;#039;&amp;#039; to include all callers in the error message.&lt;br /&gt;
&lt;br /&gt;
[[File:Error Cluster From Error Code - Show Call Chain.png]]&lt;br /&gt;
&lt;br /&gt;
Set &amp;#039;&amp;#039;&amp;#039;is warning?&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;true&amp;#039;&amp;#039; to return a warning instead of an error. If there is already a warning at the &amp;#039;&amp;#039;&amp;#039;error in&amp;#039;&amp;#039;&amp;#039; input terminal, the value is left unchanged.&lt;br /&gt;
&lt;br /&gt;
[[File:Error Cluster From Error Code - Is Warning.png]]&lt;br /&gt;
&lt;br /&gt;
== Best practice ==&lt;br /&gt;
* Specify custom error messages to improve readability and help others understand what the error means.&lt;br /&gt;
* Use [[Custom Error Code|custom error codes]] to avoid conflicts with [[Default Error Code|default error codes]].&lt;br /&gt;
* Use different error codes for different errors in the application.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Version&lt;br /&gt;
! Change(s)&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8.20|link=LabVIEW 8.20]]&lt;br /&gt;
|{{ambox|text=What changes have occurred over previous versions?}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[Default Error Code]]&lt;br /&gt;
*[[Custom Error Code]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
*[https://zone.ni.com/reference/en-XX/help/371361R-01/glang/err_cluster_from_code/ Error Cluster From Error Code VI] (ni.com)&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Error Handling]]&lt;br /&gt;
[[Category:Dialog &amp;amp; User Interface Palette]]&lt;/div&gt;</summary>
		<author><name>Logmanoriginal</name></author>
	</entry>
</feed>