-print_error_and_exit" class="anchor"></a><code><span class="keyword">val</span> print_error_and_exit : <span>?&#8288;exit_code:int</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, Stdlib.Format.formatter, unit, <span class="type-var">'b</span>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.format4</span> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dd><p>Prints an error message to a log file, prints a message saying that the error 