LunaCrafts
LunaCrafts3y ago

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
LunaCrafts
LunaCraftsOP3y ago
Ok I figured out that this callback is probably being called only for trpc/client errors
Alex / KATT 🐱
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)