From a6ab83b123c1f3b96a9138b05d3c0ce9e9c31701 Mon Sep 17 00:00:00 2001 From: holybaechu Date: Fri, 23 Feb 2024 02:09:14 +0900 Subject: [PATCH] Create error page --- src/routes/+error.svelte | 10 ++++++++++ src/routes/+layout.svelte | 2 +- 2 files changed, 11 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..45044aa --- /dev/null +++ b/src/routes/+error.svelte @@ -0,0 +1,10 @@ + + +
+
+ {$page.status} +
+
{$page.error.message}
+
\ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f29269a..6d01038 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,7 +7,7 @@
-
+