'Genericise' errors ready for +error.svelte upgrade to handle known errors
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user