<script>
	import { page } from '$app/stores';
</script>

{#if $page.error}
	<div class="error-message"><h1>{$page.status}: {$page.error.message}</h1></div>
{/if}

<style>
	.error-message {
		max-width: 480px;
		margin: 0 auto;
	}
</style>
