I use SvelteQuery with Svelte tRPC. How to send error or success response ?
Here i create authenticate logic for logged in the user
I use helper
sendTRPCResponse
Is response with status
200 go to onSuccess
callback of mutation and status
!= 200 is going to onError
callback ?2 Replies
national-gold•6mo ago
how is that related to start?
unwilling-turquoise•6mo ago
-> #svelte-query-questions