aditionnal-way" class="anchor"></a>Traditionnal way</h3>
<p><code>{attempt}</code> is flexible in how you can specify your arguments.</p>
<p>You can, as you do with <code>{base}</code> <code>tryCatch()</code>, use a plain old function:</p>
<div class="sourceCode" id="cb13"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb13-1" title="1"><span class="kw"><a href="reference/try_catch.html">try_catch</a></span>(<span class="kw">log</span>(<span class="st">"a"</span>), </a>
<a cl