mirror of
https://github.com/Damillora/Rinze.git
synced 2024-10-31 19:37:32 +00:00
29 lines
406 B
Svelte
29 lines
406 B
Svelte
|
<script>
|
||
|
import PageHeader from 'components/PageHeader.svelte';
|
||
|
|
||
|
export let status;
|
||
|
export let error;
|
||
|
|
||
|
const dev = process.env.NODE_ENV === 'development';
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|
||
|
|
||
|
<svelte:head>
|
||
|
<title>{status}</title>
|
||
|
</svelte:head>
|
||
|
|
||
|
<div class="page">
|
||
|
<PageHeader>
|
||
|
<h1>{status}</h1>
|
||
|
<p>{error.message}</p>
|
||
|
</PageHeader>
|
||
|
{#if dev && error.stack}
|
||
|
<pre>{error.stack}</pre>
|
||
|
{/if}
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|