We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed447e commit 00cdeb1Copy full SHA for 00cdeb1
apps/svelte.dev/content/tutorial/03-sveltekit/09-errors-and-redirects/04-redirects/index.md
@@ -24,3 +24,5 @@ The most common status codes you'll use:
24
- `303` — for form actions, following a successful submission
25
- `307` — for temporary redirects
26
- `308` — for permanent redirects
27
+
28
+> [!NOTE] `redirect(...)` throws, like `error(...)`, meaning no code _after_ the redirect will run.
0 commit comments