cript errors.</li>
</ol>
<hr class="my-4" />
<h1>Catching an error</h1>
<p>Errors can be caught in five different scopes:</p>
<ol>
    <li><strong>First request error</strong>: This scope catches errors when Blazor fails to initiate.</li>
    <li><strong>Global</strong>: If Blazor is successfully initiated, this is the last fallback to handle any errors.</li>
    <li><strong>Layout</strong>: This scope catches any error thrown from within the layout, provided Blazor is successfully initiated.</li>
    <li><