Skip to content
Snippets Groups Projects
Commit 0d17a086 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Add custom error page.

parent 7761037a
Branches
Tags
No related merge requests found
<script context="module" lang="ts">
export function load({ error, status }) {
return {
props: {
title: `${status}: ${error.message}`,
},
}
}
</script>
<script>
import { page, session } from "$app/stores"
export let title
</script>
<svelte:head>
<title>Erreur | {$session.title}</title>
</svelte:head>
<main>
<h1>{title}</h1>
</main>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment