1. Docs

Error

Use this in +error.svelte page to handle 404 and 500 errors gracefully.

Usage

<script>
  import Error from '$lib/dist/components/Error.svelte';
</script>

<Error btnName="Home" btnLink="/" />