diff --git a/documentation/docs/03-routing.md b/documentation/docs/03-routing.md index f78b45d42ba1..03468fa3308b 100644 --- a/documentation/docs/03-routing.md +++ b/documentation/docs/03-routing.md @@ -190,7 +190,7 @@ If an error occurs during `load`, SvelteKit will render a default error page. Yo

{$page.status}: {$page.error.message}

``` -SvelteKit will 'walk up the tree' looking for the closest error boundary — if the file above didn't exist it would try `src/routes/blog/+error.svelte` and `src/routes/+error.svelte` before rendering the default error page. If that fails, the contents of a static error page (`src/error.html` by default) will be rendered instead. +SvelteKit will 'walk up the tree' looking for the closest error boundary — if the file above didn't exist it would try `src/routes/blog/+error.svelte` and `src/routes/+error.svelte` before rendering the default error page. If _that_ fails, SvelteKit will bail out and render a static fallback error page, which you can customise by creating a `src/error.html` file. ### +layout