From 97dfa3d122da949e8bcdbce87771259429d5f5a0 Mon Sep 17 00:00:00 2001 From: Korbs Date: Wed, 11 Dec 2024 20:48:12 -0500 Subject: [PATCH] Create 500 page --- src/pages/500.astro | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/pages/500.astro diff --git a/src/pages/500.astro b/src/pages/500.astro new file mode 100644 index 0000000..1e13c15 --- /dev/null +++ b/src/pages/500.astro @@ -0,0 +1,22 @@ +--- +// Fetch Error Message +interface Props { + error: unknown +} + +const { error } = Astro.props +--- + +

Error 500

+

An error happened in Astro:

+

{error.message}

+ + \ No newline at end of file