lement with the <code>Context</code> parameter set to <code>ex</code>, you can access the error message using the <code>@ex.Message</code> syntax.</p>
<p>Here's an example of how to use the <code>ErrorContent</code> element:</p>
<pre class="code" language="razor">&lt;ErrorBoundary&gt;
    &lt;ChildContent&gt;
        &lt;TriggerError/&gt;
    &lt;/ChildContent&gt;
    &lt;ErrorContent Context="ex"&gt;
        An error occurred: @ex.Message
    ErrorContent&gt;
&lt;/ErrorBoundary&gt;</pre>
<h3>Resuming the o