Files

24 lines
516 B
Vue
Raw Permalink Normal View History

2026-04-29 14:39:34 -05:00
<script setup lang="ts">
import type { NuxtError } from '#app';
const props = defineProps<{ error: NuxtError }>();
useHead({
title: 'Sorry...',
});
</script>
<template>
2026-08-22 11:59:33 -05:00
<NuxtLayout
name="main"
:title="String(props.error.statusCode ?? 500)"
:description="props.error.message ?? 'Sorry, something went wrong.'"
>
<article>
<p>
<NuxtLink to="/">Back to the homepage.</NuxtLink>
</p>
</article>
</NuxtLayout>
2026-04-29 14:39:34 -05:00
</template>