Skip to content

Commit

Permalink
Sync kit docs (sveltejs#818)
Browse files Browse the repository at this point in the history
sync kit docs

Co-authored-by: Rich-Harris <[email protected]>
  • Loading branch information
github-actions[bot] and Rich-Harris authored Nov 7, 2024
1 parent 5daa90b commit 175a8f2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apps/svelte.dev/content/docs/kit/98-reference/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
VERSION,
error,
fail,
isActionFailure,
isHttpError,
isRedirect,
json,
Expand Down Expand Up @@ -86,6 +87,22 @@ function fail<



## isActionFailure

Checks whether this is an action failure thrown by `fail`.

<div class="ts-block">

```dts
function isActionFailure(
e: unknown
): e is ActionFailure<undefined>;
```

</div>



## isHttpError

Checks whether this is an error thrown by `error`.
Expand Down

0 comments on commit 175a8f2

Please sign in to comment.