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({});
![](https://utfs.io/f/c0d9e79c-3e50-4f3a-b598-0ed7609da618-elbmv7.20.10.png)
2 Replies
Ok I figured out that this callback is probably being called only for trpc/client errors
![](https://utfs.io/f/0fa0eb0e-e7f5-4060-9a1c-6d71ab5e44a2-elbmv7.26.52.png)
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)