diff --git a/bun.lockb b/bun.lockb index 24f550a..cf0488a 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 037569a..365048b 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@iconoir/vue": "^7.10.0", "@meilisearch/instant-meilisearch": "^0.22.0", "@playform/compress": "^0.1.6", + "@sudovanilla/errors": "^3.0.0", "@tryghost/content-api": "^1.11.21", "astro": "^4.16.14", "astro-better-image-service": "^2.0.37", diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..7ca17a2 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,8 @@ +--- +import { Error } from "@sudovanilla/errors"; +--- + + \ No newline at end of file diff --git a/src/pages/500.astro b/src/pages/500.astro new file mode 100644 index 0000000..7080bcd --- /dev/null +++ b/src/pages/500.astro @@ -0,0 +1,18 @@ +--- +// Layout +import { Error } from "@sudovanilla/errors"; + +// Fetch Error Message +interface Props { + error: unknown +} + +const { error } = Astro.props +--- + + \ No newline at end of file