<script lang="ts">
    import type { FetchError } from "$lib/types"

    let { returnError }: { returnError: FetchError } = $props()
</script>

<div class="flex h-screen w-full flex-col items-center justify-center">
    <h1 class="p-2 text-xl">Error {returnError.code}</h1>
    <p>{returnError.message}</p>
</div>
