-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
breaking: allow handleError to influence status code
#16162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+471
−165
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8ca5d84
breaking: allow `handleError` to influence status code
dummdidumm ec110fb
Update documentation/docs/30-advanced/25-errors.md
dummdidumm b7f82a8
chore: autofix lint
github-actions[bot] 3609842
lint
dummdidumm 7a185d8
Update packages/kit/test/apps/basics/test/cross-platform/test.js
dummdidumm d06fb46
Merge branch 'version-3' into handle-error-status
teemingc 3a4ada7
fix
teemingc 46ba4b9
Merge branch 'version-3' into handle-error-status
teemingc e41b8c9
Merge branch 'version-3' into handle-error-status
teemingc adbdaf5
tweak error/App.Error shape
dummdidumm 7003c3a
fix tests
dummdidumm e67120f
regenerate
dummdidumm 60cd975
handleValidationError
dummdidumm 04c3ca9
Fix: `HandleValidationError` return type dropped its `MaybePromise` w…
vercel[bot] c75db89
simplify
dummdidumm 16f552d
fix
dummdidumm 3708328
unnecessary
dummdidumm e37bf7b
Merge branch 'version-3' into handle-error-status
dummdidumm 737dd82
simplify
dummdidumm 231d11e
another
Rich-Harris c34b084
another
Rich-Harris 9b8da37
bit more
Rich-Harris 6134aa0
Fix: Hydrating an SSR'd error page yields `page.status === 200` inste…
vercel[bot] a530dd3
Update packages/kit/src/exports/index.js
Rich-Harris b79730a
gah apparently this falls through? could have sworn it worked a momen…
Rich-Harris 4eb034a
make sure unexpected errors on form submissions on the client are rou…
dummdidumm ae9e34e
missed a spot
dummdidumm 196812d
goddammit
Rich-Harris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "@sveltejs/kit": major | ||
| --- | ||
|
|
||
| breaking: allow `handleError` to influence status code | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.