<script lang="ts">
  import { page } from '$app/stores';
</script>

<div>
  <h2>Error {$page.status}</h2>
  <p>{$page.error?.message || 'An error occurred'}</p>
</div>

<style>
  h2 {
    margin-top: 0;
  }
</style>
