-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
errors
exported by +page.svelte
is only available on the server and not on the client
#5906
Comments
#5875 is relevant here: |
@rmunn Is this expected behavior? If this is a bug, I found the cause and can open a PR. |
@pilcrowonpaper I don't think this behavior is expected, so go ahead and open the PR if you've already got a bugfix ready and it's small. But since according to #5875 the relevant parts of the code will be changing soon, if your PR is large it may end up with a lot of merge conflicts and it might be worth holding off until #5875 gets implemented. If it's small, though, might as well get it in now so the bugfix can be incorporated into the upcoming #5875 changes. |
It's just 3 lines of code, will open a PR |
Describe the bug
Cannot access the
errors
object in the client returned by actions (+page.server.js
).Reproduction
https://github.com/pilcrowOnPaper/sveltekit-action-issue
Description and steps are described in the repo README
Logs
(Browser console)
System Info
Tested with: Safari, Firefox, Chrome
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: