" href="../../api/monit.html#labml.monit.fail">[docs]</a>
<span class="k">def</span> <span class="nf">fail</span><span class="p">():</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Mark the current section as failed.</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="n">_internal</span><span class="p">()</span><span class="o">.</span><span class="n">set_successful</span><span class="p">(</span><span class="kc">False</span><span class="p">