<?xml version="1.0" encoding="utf-8"?>
<s1 title="die"><table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>die </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>die &quot;We had an error and had to stop... &quot; </p>
</td></tr></table><p>Stops the script on the current line with an error. You can specify an error in between quotes &quot;&quot;. Aditionally to this an error code will be added to the end.  </p>
<p></p>
<source><![CDATA[die "Oh uh! Seems we had an error \n"]]></source><p></p>

<br/>------------------------------------------------------------------------------<br/>
<p> <jump href="/wiki/ScriptControlStructures">ScriptControlStructures</jump> </p>
</s1>