From 02f82467e6195b373951fbd7f37f6da961159692 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Thu, 19 Sep 2024 09:40:36 -0700 Subject: [PATCH] feat: Add error page --- src/routes/+error.svelte | 15 +++++++++++++++ src/routes/+layout.svelte | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/routes/+error.svelte diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte new file mode 100644 index 0000000..bcee02e --- /dev/null +++ b/src/routes/+error.svelte @@ -0,0 +1,15 @@ + + +
+

{$page.status}: {$page.error?.message}

+
+ + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 74b588d..b5022b5 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -14,12 +14,13 @@
+
{:else} +