Closed ollema closed 6 months ago
It works when you remove throw
, does it? So it's just a documentation update?
it does work, so just a documentation update 🤦 sorry for wasting your time with the false alarm
Added a note in the docs in the latest version, which has SvelteKit 2 support now.
https://kit.svelte.dev/docs/migrating-to-sveltekit-2#redirect-and-error-are-no-longer-thrown-by-you