my-4" />
<h1>Using a custom error handler</h1>
<p>Once you have created your custom error handler, you can use it just like the <code>ErrorHandler</code> component. For instance:</p>
<pre class="code" language="razor">&lt;BlazorSchoolErrorBoundary&gt;
    &lt;ChildContent&gt;
        &lt;TriggerError /&gt;
    &lt;/ChildContent&gt;
    &lt;ErrorContent&gt;
        &lt;TriggerError /&gt;
        &lt;div&gt;Hello Blazor School!&lt;/div&gt;
    &lt;/ErrorContent&gt;
&lt;/BlazorSchoolErrorBoundary&gt;</pre>
<hr