From c97559a6b026e531fbec3349c8c14db6427f3355 Mon Sep 17 00:00:00 2001 From: Skye Date: Sat, 26 Nov 2022 15:35:46 +0900 Subject: [PATCH] error page and better icon --- src/lib/KratosForm.svelte | 4 ++-- src/routes/error/+page.server.ts | 21 +++++++++++++++++++++ src/routes/error/+page.svelte | 24 ++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 src/routes/error/+page.server.ts create mode 100644 src/routes/error/+page.svelte diff --git a/src/lib/KratosForm.svelte b/src/lib/KratosForm.svelte index dad4ab4..a6a8e76 100644 --- a/src/lib/KratosForm.svelte +++ b/src/lib/KratosForm.svelte @@ -1,6 +1,6 @@ + +
+
+

An Error Occurred

+ {data.error.message} +
+ + +
+ {JSON.stringify(data)} +
+
+
+