eturn Task.CompletedTask;
    }
}</pre>
<ol start="3">
    <li>Finally, you can override the <code>BuildRenderTree</code> method to display a default custom UI when an error occurs. This is where you can provide a method for the user to resolve the error, if applicable. For example:</li>
</ol>
<pre class="code" language="csharp">public class BlazorSchoolErrorBoundary : ErrorBoundaryBase
{
    ...
    protected void RecoverAndClearErrors()
    {
        Recover();
        BlazorSchoolExceptions.Clear();
    