<template>
	<Header />
	<h1>{{ error.statusCode }} {{ error.statusMessage }}</h1>
	{{ error.message }}
</template>

<script setup lang="ts">
defineProps<{ error: {
	statusCode: number,
	fatal: boolean,
	unhandled: boolean,
	statusMessage?: string,
	data?: unknown,
	cause?: unknown,

	// Undocumented fields
	url?: string,
	message?: string,
	stack?: string,
} }>()
</script>
