errorFormatter is not being called?
Could somebody confirm that this callback is called in the latest version? I call it from server side using:
const caller = lunaRouter.createCaller({});
2 Replies
Ok I figured out that this callback is probably being called only for trpc/client errors
yeah
it's part of the serialization to json
on the server that step is not used
unless you spin up a server as part of the tests (which i quite often do)