16 lines
240 B
Svelte
16 lines
240 B
Svelte
<script context="module">
|
|
export function load({ error, status }) {
|
|
return {
|
|
props: {
|
|
title: `${status}: ${error.message}`
|
|
}
|
|
};
|
|
}
|
|
</script>
|
|
|
|
<script>
|
|
export let title;
|
|
</script>
|
|
|
|
<h1>{title}</h1>
|