feat: edit error page

This commit is contained in:
Damillora 2024-03-20 02:59:20 +07:00
parent e0a17e4541
commit 25963fd47f

View File

@ -1,6 +1,6 @@
<script> <script>
import { page } from '$app/stores'; import { page } from '$app/stores';
import { Container } from '@damillora/plachta'; import { Container, Post } from '@damillora/plachta';
</script> </script>
<svelte:head> <svelte:head>
@ -8,12 +8,10 @@
</svelte:head> </svelte:head>
<Container> <Container>
<h1>{$page.status}</h1> <Post>
<p>{$page.error.message}</p> <h1>{$page.status}</h1>
<p>{$page.error.message}</p>
{#if $page.error.stack} </Post>
<pre>{$page.error.stack}</pre>
{/if}
</Container> </Container>
<style> <style>