Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ben McCann <[email protected]>
  • Loading branch information
happycollision and benmccann authored Jul 27, 2021
1 parent d90b018 commit 73bfcc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/docs/14-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ See [Prerendering](#ssr-and-javascript-prerender). An object containing zero or
- `enabled` — set to `false` to disable prerendering altogether
- `onError`

- `"fail"` — (default) fails the build when a routing error is encountered when following a link
- `'fail'` — (default) fails the build when a routing error is encountered when following a link
- `"continue"` — allows the build to continue, despite routing errors
- function — you can use the `errorDetails` to determine whether or not to `throw`, thereby failing the build.
- `function`custom error handler allowing you to log, `throw` and fail the build, or take other action of your choosing based on the details of the crawl

```ts
/** @type {import('@sveltejs/kit').PrerenderErrorHandler} */
Expand Down

0 comments on commit 73bfcc8

Please sign in to comment.