Skip to content

Commit

Permalink
add custom error route
Browse files Browse the repository at this point in the history
css are not working in the page because of sveltejs/kit#920
  • Loading branch information
tacone committed Apr 9, 2021
1 parent aaedc49 commit 54eee66
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions svelte/src/routes/$error.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script>
export let status;
export let error;
import '../app.scss';
</script>

<h1>{status}</h1>
<p>{error.message}</p>

0 comments on commit 54eee66

Please sign in to comment.