 path <strong>/Error</strong>. If you need to customize the first request error page, you can follow these steps:</p>
<ol>
    <li>Set the path to the first request error page in <strong>Program.cs</strong>. For example:</li>
</ol>
<pre class="code" language="csharp">app.UseExceptionHandler("/BlazorSchoolError");</pre>
<ol start="2">
    <li>Create a new Razor Page (not a Razor Component) by adding a new <strong>.cshtml</strong> file to the <strong>Pages</strong> folder.</li>
</ol>
<pre class="code" languag