'Genericise' errors ready for +error.svelte upgrade to handle known errors

This commit is contained in:
2026-05-16 18:19:47 +01:00
parent 808b576df1
commit b51845528f
7 changed files with 97 additions and 60 deletions

View File

@@ -9,8 +9,8 @@
<!-- Will need to check error type, using the upstream code combined with response code -->
{#if page.error}
{JSON.stringify(page.error)}
STATUS: {page.status}
{JSON.stringify(page.error)}
STATUS: {page.status}
{/if}
<div class="error-wrapper">