<doc>
	<legacy_id></legacy_id>
	<name>errorMode</name>
	<type>property</type>

	<syntax>
		<example>set the errorMode to <i>mode</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Sets the engine action when an error is encountered.</summary>

	<examples>
<example>set the errorMode to &quot;debugger&quot;</example>
<example>set the errorMode to &quot;inline&quot;</example>
	</examples>

	<history>
		<introduced version="4.6.3">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

	<classes>
		<server/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<keyword tag="stderr">stderr Keyword</keyword>
		<keyword tag="stdout">stdout Keyword</keyword>
	</references>

	<description>
	<overview>Determines the action the engine takes when an error occurs and a custom <message tag="scriptExecutionError">scriptExecutionError</message> handler has not been provided. </overview>

		<parameters>
  <parameter>
    <name>mode</name>
    <description>Specifies the action to take when an error occurs.</description>
    <options title="The mode types are:">
      <option>
        <item>debugger</item>
        <description>is for information only and indicates that the script is being run in 'remote debug' mode. This is only relevant to the on-rev engine</description>
      </option>
      <option>
        <item>inline</item>
        <description>indicates that the error should be output into the stdout stream. In this case, the engine assumes that the output is HTML and puts the error messages in a 'pre' block</description>
      </option>
      <option>
        <item>stderr</item>
        <description>specifies that the error should be written out to stderr</description>
      </option>
      <option>
        <item>quiet</item>
        <description>indicates that nothing is output anywhere when an error occurs</description>
      </option>
    </options>
  </parameter>		</parameters>

	<value></value>
	<comments>The <b>errorMode</b> property allows you to specify where to log or how to handle error messages that are not handled by a custom <message tag="scriptExecutionError">scriptExecutionError</message> handler</comments>
	</description>
</doc>