ap the error to a <code>CustomError</code>.</p>
        <p>For more information on <em>ZIO</em> see the <a href="https://zio.dev/">ZIO documentation</a>.</p>
        
        <h3 id="mocking" class="section"><a class="anchor-link left" href="#mocking"><i class="icofont-laika link">&#xef71;</i></a>Mocking</h3>
        <p>You can also mock a composed Worker like:</p>
        <pre class="keep-together pdf epub"><code class="nohighlight"><span>  </span><span class="keyword">private</span><span>[</span><span cla