Open nekochan0122 opened 1 week ago
if an Error
is thrown, it can't be serialized using JSON.stringify
this is what happens currently: https://github.com/TanStack/router/blob/ed07f048a8597858a2bff8b4a558bd68760edb15/packages/start/src/client-runtime/fetcher.tsx#L138-L147
Which project does this relate to?
Start
Describe the bug
https://discord.com/channels/719702312431386674/1238170697650405547/1295132419812233226
Your Example Website or App
https://github.com/nekochan0122/start-todolist-server-fn
Steps to Reproduce the Bug or Issue
.env.example
to.env
pnpm db:push
pnpm db:generate
pnpm dev
Expected behavior
Error objects should be able to serialize.
Screenshots or Videos
No response
Platform
Additional context
No response